Advertisement
Guest User

Untitled

a guest
Feb 26th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.84 KB | None | 0 0
  1. #
  2. # Copyright (C) 2010 The Android Open Source Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16.  
  17. $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
  18.  
  19. PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
  20. PRODUCT_AAPT_PREF_CONFIG := xhdpi
  21.  
  22. DEVICE_PACKAGE_OVERLAYS += device/htc/endeavoru/overlay
  23.  
  24. # Set default USB interface
  25. PRODUCT_PROPERTY_OVERRIDES += \
  26. persist.sys.usb.config=mass_storage,adb
  27.  
  28. # Don't store dalvik on /cache, it gets annoying when /cache is wiped
  29. # by us to enable booting into recovery after flashing boot.img
  30. PRODUCT_PROPERTY_OVERRIDES += \
  31. dalvik.vm.dexopt-data-only=1
  32.  
  33. # EndeavorU is similar to Galaxy Nexus in terms of RAM
  34. include frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk
  35.  
  36. # we have enough storage space to hold precise GC data
  37. PRODUCT_TAGS += dalvik.gc.type-precise
  38.  
  39. # Init files
  40. PRODUCT_COPY_FILES += \
  41. $(LOCAL_PATH)/ramdisk/fstab.endeavoru:root/fstab.endeavoru \
  42. $(LOCAL_PATH)/ramdisk/init:root/init \
  43. $(LOCAL_PATH)/ramdisk/init.endeavoru.rc:root/init.endeavoru.rc \
  44. $(LOCAL_PATH)/ramdisk/init.endeavoru.usb.rc:root/init.endeavoru.usb.rc \
  45. $(LOCAL_PATH)/ramdisk/init.rc:root/init.rc \
  46. $(LOCAL_PATH)/ramdisk/ueventd.endeavoru.rc:root/ueventd.endeavoru.rc
  47.  
  48. # These are the hardware-specific features
  49. PRODUCT_COPY_FILES += \
  50. frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
  51. frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
  52. frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
  53. frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
  54. frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
  55. frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
  56. frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
  57. frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
  58. frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
  59. frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
  60. frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
  61. frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \
  62. frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
  63. frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
  64. frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
  65. frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
  66. frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml
  67.  
  68. PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
  69. packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml)
  70.  
  71. # Input config files
  72. PRODUCT_COPY_FILES += \
  73. $(LOCAL_PATH)/prebuilt/usr/idc/atmel-maxtouch.idc:system/usr/idc/atmel-maxtouch.idc \
  74. $(LOCAL_PATH)/prebuilt/usr/idc/synaptics-rmi-touchscreen.idc:system/usr/idc/synaptics-rmi-touchscreen.idc \
  75. $(LOCAL_PATH)/prebuilt/usr/idc/tv-touchscreen.idc:system/usr/idc/tv-touchscreen.idc \
  76. $(LOCAL_PATH)/prebuilt/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
  77. $(LOCAL_PATH)/prebuilt/usr/keylayout/tegra-kbc.kl:system/usr/keylayout/tegra-kbc.kl
  78.  
  79. # audio misc
  80. PRODUCT_COPY_FILES += \
  81. $(LOCAL_PATH)/prebuilt/usr/share/alsa/cards/aliases.conf:system/usr/share/alsa/cards/aliases.conf \
  82. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/center_lfe.conf:system/usr/share/alsa/pcm/center_lfe.conf \
  83. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/default.conf:system/usr/share/alsa/pcm/default.conf \
  84. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/dmix.conf:system/usr/share/alsa/pcm/dmix.conf \
  85. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/dpl.conf:system/usr/share/alsa/pcm/dpl.conf \
  86. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/dsnoop.conf:system/usr/share/alsa/pcm/dsnoop.conf \
  87. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/front.conf:system/usr/share/alsa/pcm/front.conf \
  88. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/iec958.conf:system/usr/share/alsa/pcm/iec958.conf \
  89. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/modem.conf:system/usr/share/alsa/pcm/modem.conf \
  90. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/rear.conf:system/usr/share/alsa/pcm/rear.conf \
  91. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/side.conf:system/usr/share/alsa/pcm/side.conf \
  92. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/surround40.conf:system/usr/share/alsa/pcm/surround40.conf \
  93. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/surround41.conf:system/usr/share/alsa/pcm/surround41.conf \
  94. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/surround50.conf:system/usr/share/alsa/pcm/surround50.conf \
  95. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/surround51.conf:system/usr/share/alsa/pcm/surround51.conf \
  96. $(LOCAL_PATH)/prebuilt/usr/share/alsa/pcm/surround71.conf:system/usr/share/alsa/pcm/surround71.conf
  97.  
  98. # Vold fstab
  99. PRODUCT_COPY_FILES += \
  100. $(LOCAL_PATH)/vold.fstab:system/etc/vold.fstab
  101.  
  102. # media config xml file
  103. PRODUCT_COPY_FILES += \
  104. $(LOCAL_PATH)/media_profiles.xml:system/etc/media_profiles.xml
  105.  
  106. # media codec config xml file
  107. PRODUCT_COPY_FILES += \
  108. $(LOCAL_PATH)/media_codecs.xml:system/etc/media_codecs.xml
  109.  
  110. # bluetooth config
  111. PRODUCT_COPY_FILES += \
  112. system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
  113.  
  114. # configs
  115. PRODUCT_COPY_FILES += \
  116. $(LOCAL_PATH)/config/enctune.conf:system/etc/enctune.conf \
  117. $(LOCAL_PATH)/config/Flash_Loader.conf:system/etc/Flash_Loader.conf \
  118. $(LOCAL_PATH)/config/gps.conf:system/etc/gps.conf \
  119. $(LOCAL_PATH)/config/nvcamera.conf:system/etc/nvcamera.conf \
  120. $(LOCAL_PATH)/config/nvram_4329.txt:system/etc/nvram_4329.txt \
  121. $(LOCAL_PATH)/config/nvram_4330.txt:system/etc/nvram_4330.txt
  122.  
  123. # audio
  124. PRODUCT_COPY_FILES += \
  125. $(LOCAL_PATH)/prebuilt/audio/AIC3008_REG_DualMic.csv:system/etc/AIC3008_REG_DualMic.csv \
  126. $(LOCAL_PATH)/prebuilt/audio/AIC3008_REG_DualMic_XC.csv:system/etc/AIC3008_REG_DualMic_XC.csv \
  127. $(LOCAL_PATH)/prebuilt/audio/asound.conf:system/etc/asound.conf \
  128. $(LOCAL_PATH)/prebuilt/audio/audio_effects.conf:system/etc/audio_effects.conf \
  129. $(LOCAL_PATH)/prebuilt/audio/DSP_number.txt:system/etc/DSP_number.txt \
  130. $(LOCAL_PATH)/prebuilt/audio/alsa.conf:system/usr/share/alsa/alsa.conf
  131.  
  132. # misc
  133. PRODUCT_COPY_FILES += \
  134. $(LOCAL_PATH)/model_frontal.xml:system/etc/model_frontal.xml
  135.  
  136. # nfc
  137. PRODUCT_COPY_FILES += \
  138. $(LOCAL_PATH)/nfcee_access.xml:system/etc/nfcee_access.xml
  139.  
  140. # Torch
  141. PRODUCT_PACKAGES += \
  142. Torch
  143.  
  144. # Other extra packages
  145. PRODUCT_PACKAGES += \
  146. librs_jni \
  147. make_ext4fs \
  148. setup_fs \
  149. com.android.future.usb.accessory
  150.  
  151. # lights
  152. PRODUCT_PACKAGES += \
  153. lights.tegra
  154.  
  155. # Camera wrapper
  156. PRODUCT_PACKAGES += \
  157. camera.tegra
  158.  
  159. # Bluetooth tools
  160. PRODUCT_PACKAGES += \
  161. l2ping \
  162. hciconfig \
  163. hcitool \
  164. libbt-vendor
  165.  
  166. # NFC packages
  167. PRODUCT_PACKAGES += \
  168. libnfc \
  169. libnfc_jni \
  170. Nfc \
  171. Tag \
  172. com.android.nfc_extras
  173.  
  174. # audio packages
  175. PRODUCT_PACKAGES += \
  176. audio.a2dp.default \
  177. libaudioutils \
  178. libtinyalsa \
  179. tinymix \
  180. tinyplay \
  181. tinycap
  182.  
  183. # pollyd (respect & thanks to Adrian Ulrich <adrian@blinkenlights.ch> )
  184. PRODUCT_PACKAGES += \
  185. pollyd \
  186. Polly
  187.  
  188. PRODUCT_PACKAGES += \
  189. EndeavoruParts
  190.  
  191.  
  192. # Wi-Fi
  193. PRODUCT_PACKAGES += \
  194. dhcpcd.conf \
  195. hostapd.conf \
  196. wifical.sh \
  197. TQS_D_1.7.ini \
  198. crda \
  199. regulatory.bin \
  200. calibrator \
  201. wlconf
  202.  
  203. $(call inherit-product-if-exists, vendor/htc/endeavoru/endeavoru-vendor.mk)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement