Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 1 | # |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 2 | # Copyright (C) 2011 The Android Open-Source Project |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 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 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 17 | # This file includes all definitions that apply to ALL mako devices, and |
| 18 | # are also specific to mako devices |
| 19 | # |
| 20 | # Everything in this directory will become public |
Jean-Baptiste Queru | da90dca | 2012-06-05 16:03:03 -0700 | [diff] [blame] | 21 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 22 | DEVICE_PACKAGE_OVERLAYS := device/lge/mako/overlay |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 23 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 24 | # This device is xhdpi. However the platform doesn't |
| 25 | # currently contain all of the bitmaps at xhdpi density so |
| 26 | # we do this little trick to fall back to the hdpi version |
| 27 | # if the xhdpi doesn't exist. |
| 28 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 29 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 30 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 31 | PRODUCT_PACKAGES := \ |
| 32 | lights.msm8960 |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 33 | |
sungmin.choi | eb1d30c | 2012-06-19 22:24:43 -0700 | [diff] [blame] | 34 | PRODUCT_PACKAGES += \ |
| 35 | charger_res_images \ |
| 36 | charger |
| 37 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 38 | # Live Wallpapers |
| 39 | PRODUCT_PACKAGES += \ |
| 40 | LiveWallpapers \ |
| 41 | LiveWallpapersPicker \ |
| 42 | VisualizationWallpapers \ |
| 43 | librs_jni |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 44 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 45 | LOCAL_KERNEL := device/lge/mako-kernel/kernel |
Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 46 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 47 | PRODUCT_COPY_FILES := \ |
| 48 | $(LOCAL_KERNEL):kernel |
| 49 | |
| 50 | PRODUCT_COPY_FILES += \ |
| 51 | device/lge/mako-kernel/prima_wlan.ko:system/lib/modules/wlan.ko \ |
Sungmin Choi | 5fd819d | 2012-07-18 01:49:40 -0700 | [diff] [blame] | 52 | device/lge/mako/WCNSS_cfg.dat:system/vendor/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 53 | device/lge/mako/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \ |
| 54 | device/lge/mako/WCNSS_qcom_wlan_nv.bin:system/etc/wifi/WCNSS_qcom_wlan_nv.bin |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 55 | |
| 56 | PRODUCT_COPY_FILES += \ |
jeonghoon.lim | 6a2ca5a | 2012-07-13 13:00:37 -0700 | [diff] [blame] | 57 | system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf |
| 58 | |
| 59 | PRODUCT_COPY_FILES += \ |
Sungmin Choi | 099cdae | 2012-07-20 15:46:01 -0700 | [diff] [blame] | 60 | device/lge/mako/snd_soc_msm_2x_Fusion3:system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3 \ |
| 61 | device/lge/mako/audio_policy.conf:system/etc/audio_policy.conf |
Sungmin Choi | 53cb3c9 | 2012-07-01 15:33:03 -0700 | [diff] [blame] | 62 | |
| 63 | PRODUCT_COPY_FILES += \ |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 64 | device/lge/mako/init.mako.rc:root/init.mako.rc \ |
| 65 | device/lge/mako/init.mako.usb.rc:root/init.mako.usb.rc \ |
Brian Muramatsu | 482dad7 | 2012-06-18 18:58:21 -0700 | [diff] [blame] | 66 | device/lge/mako/fstab.mako:root/fstab.mako \ |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 67 | device/lge/mako/ueventd.mako.rc:root/ueventd.mako.rc \ |
Ajay Dudani | 83aa55e | 2012-06-15 18:46:22 -0700 | [diff] [blame] | 68 | device/lge/mako/media_profiles.xml:system/etc/media_profiles.xml \ |
| 69 | device/lge/mako/media_codecs.xml:system/etc/media_codecs.xml |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 70 | |
| 71 | # Prebuilt kl and kcm keymaps |
| 72 | PRODUCT_COPY_FILES += \ |
| 73 | device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl \ |
| 74 | device/lge/mako/hs_detect.kl:system/usr/keylayout/hs_detect.kl \ |
sungmin.choi | 46ec5fe | 2012-06-22 12:56:04 -0700 | [diff] [blame] | 75 | device/lge/mako/pmic8xxx_pwrkey.kl:system/usr/keylayout/pmic8xxx_pwrkey.kl \ |
| 76 | device/lge/mako/keypad_8064.kl:system/usr/keylayout/keypad_8064.kl \ |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 77 | device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kcm:system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm \ |
sungmin.choi | 46ec5fe | 2012-06-22 12:56:04 -0700 | [diff] [blame] | 78 | device/lge/mako/hs_detect.kcm:system/usr/keychars/hs_detect.kcm \ |
| 79 | device/lge/mako/keypad_8064.kcm:system/usr/keychars/keypad_8064.kcm \ |
| 80 | device/lge/mako/pmic8xxx_pwrkey.kcm:system/usr/keychars/pmic8xxx_pwrkey.kcm |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 81 | |
| 82 | # Prebuilt input device calibration files |
| 83 | PRODUCT_COPY_FILES += \ |
Iliyan Malchev | e011ca2 | 2012-06-14 14:58:24 -0700 | [diff] [blame] | 84 | device/lge/mako/touch_dev.idc:system/usr/idc/touch_dev.idc |
| 85 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 86 | # These are the hardware-specific features |
| 87 | PRODUCT_COPY_FILES += \ |
| 88 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ |
| 89 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 90 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 91 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 92 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
Mekala Natarajan | cdea6b0 | 2012-06-26 18:59:03 -0700 | [diff] [blame] | 93 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 94 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 95 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 96 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 97 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 98 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 99 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 100 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
Sungmin Choi | 6267c98 | 2012-07-24 14:12:09 -0700 | [diff] [blame] | 101 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 102 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml |
Iliyan Malchev | 272d342 | 2012-06-12 11:54:57 -0700 | [diff] [blame] | 103 | # packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 104 | |
Martijn Coenen | 6c11a69 | 2012-07-31 13:25:27 -0700 | [diff] [blame] | 105 | # NFC packages |
| 106 | PRODUCT_PACKAGES += \ |
| 107 | libnfc-nci \ |
| 108 | libnfc_nci_jni \ |
| 109 | NfcNci \ |
| 110 | Tag \ |
| 111 | com.android.nfc_extras |
| 112 | |
| 113 | # NFCEE access control |
| 114 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 115 | NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access.xml |
| 116 | else |
| 117 | NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access_debug.xml |
| 118 | endif |
| 119 | |
| 120 | # NFC access control + feature files + configuration |
| 121 | PRODUCT_COPY_FILES += \ |
| 122 | $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml \ |
| 123 | frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ |
| 124 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 125 | device/lge/mako/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf |
| 126 | |
| 127 | # NFC firmware for BCM2079x |
| 128 | PRODUCT_COPY_FILES += \ |
| 129 | hardware/broadcom/nfc/bcm2079x/bcm2079x_firmware.ncd:system/vendor/firmware/bcm2079x_firmware.ncd \ |
| 130 | hardware/broadcom/nfc/bcm2079x/bcm2079x_pre_firmware.ncd:system/vendor/firmware/bcm2079x_pre_firmware.ncd |
| 131 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 132 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 133 | ro.opengles.version=131072 |
| 134 | |
| 135 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 136 | ro.sf.lcd_density=320 |
| 137 | |
Ajay Dudani | 1c25fba | 2012-06-18 15:55:04 -0700 | [diff] [blame] | 138 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 139 | persist.audio.handset.mic=analog |
| 140 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 141 | PRODUCT_CHARACTERISTICS := nosdcard |
| 142 | |
| 143 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 144 | |
| 145 | PRODUCT_PACKAGES += \ |
| 146 | librs_jni \ |
| 147 | com.android.future.usb.accessory |
| 148 | |
| 149 | # Filesystem management tools |
| 150 | PRODUCT_PACKAGES += \ |
| 151 | make_ext4fs \ |
| 152 | setup_fs |
| 153 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 154 | PRODUCT_PACKAGES += \ |
| 155 | libgenlock \ |
| 156 | liboverlay \ |
| 157 | hwcomposer.msm8960 \ |
| 158 | gralloc.msm8960 \ |
| 159 | copybit.msm8960 |
| 160 | |
Iliyan Malchev | 91f61bc | 2012-06-13 12:40:22 -0700 | [diff] [blame] | 161 | PRODUCT_PACKAGES += \ |
Iliyan Malchev | 91f61bc | 2012-06-13 12:40:22 -0700 | [diff] [blame] | 162 | alsa.msm8960 \ |
| 163 | audio_policy.msm8960 \ |
Ajay Dudani | 1c25fba | 2012-06-18 15:55:04 -0700 | [diff] [blame] | 164 | audio.primary.msm8960 \ |
Sungmin Choi | 099cdae | 2012-07-20 15:46:01 -0700 | [diff] [blame] | 165 | audio.a2dp.default \ |
| 166 | audio.usb.default |
Iliyan Malchev | 91f61bc | 2012-06-13 12:40:22 -0700 | [diff] [blame] | 167 | |
sungmin.choi | 2dca145 | 2012-06-25 14:49:10 -0700 | [diff] [blame] | 168 | PRODUCT_PACKAGES += \ |
jeonghoon.lim | 6a2ca5a | 2012-07-13 13:00:37 -0700 | [diff] [blame] | 169 | hci_qcomm_init |
| 170 | |
| 171 | PRODUCT_COPY_FILES += \ |
| 172 | device/lge/mako/init.mako.bt.sh:system/etc/init.mako.bt.sh |
| 173 | |
| 174 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 175 | ro.qualcomm.bt.hci_transport=smd |
| 176 | |
| 177 | PRODUCT_PACKAGES += \ |
Ajay Dudani | b3f2b96 | 2012-07-08 17:02:10 -0700 | [diff] [blame] | 178 | camera.msm8960 \ |
| 179 | libmmcamera_interface2 |
| 180 | |
| 181 | PRODUCT_PACKAGES += \ |
Sungmin Choi | d197793 | 2012-06-29 10:43:10 -0700 | [diff] [blame] | 182 | mm-vdec-omx-test \ |
| 183 | mm-venc-omx-test720p \ |
| 184 | libdivxdrmdecrypt \ |
sungmin.choi | 2dca145 | 2012-06-25 14:49:10 -0700 | [diff] [blame] | 185 | libOmxVdec \ |
| 186 | libOmxVenc \ |
| 187 | libOmxCore |
| 188 | |
Ajay Dudani | e114409 | 2012-06-15 21:07:31 -0700 | [diff] [blame] | 189 | PRODUCT_PACKAGES += \ |
| 190 | libloc_adapter \ |
| 191 | libloc_eng \ |
| 192 | libloc_api_v02 \ |
| 193 | libgps.utils \ |
| 194 | gps.msm8960 |
| 195 | |
Sungmin Choi | 5fd819d | 2012-07-18 01:49:40 -0700 | [diff] [blame] | 196 | PRODUCT_PACKAGES += \ |
jeonghoon.lim | 85ddb8c | 2012-07-20 11:35:54 +0900 | [diff] [blame] | 197 | bdAddrLoader \ |
Sungmin Choi | 5fd819d | 2012-07-18 01:49:40 -0700 | [diff] [blame] | 198 | libwfcu \ |
| 199 | conn_init |
| 200 | |
Abhishek Adappa | d0e5753 | 2012-06-15 19:32:55 -0700 | [diff] [blame] | 201 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 202 | rild.libpath=/system/lib/libril-qc-qmi-1.so |
| 203 | |
agathon.jung | e1e5109 | 2012-07-05 10:44:34 -0700 | [diff] [blame] | 204 | PRODUCT_PROPERTY_OVERRIDES += \ |
agathon.jung | 7756342 | 2012-07-24 09:54:51 -0700 | [diff] [blame] | 205 | drm.service.enabled=true |
agathon.jung | e1e5109 | 2012-07-05 10:44:34 -0700 | [diff] [blame] | 206 | |
Sungmin Choi | a67f0d2 | 2012-07-16 00:17:54 -0700 | [diff] [blame] | 207 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 208 | wifi.interface=wlan0 \ |
| 209 | wifi.supplicant_scan_interval=15 |
| 210 | |
Devin Kim | 3ed2894 | 2012-08-03 16:17:50 -0700 | [diff] [blame] | 211 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 212 | persist.sys.usb.config=mtp |
| 213 | |
Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame] | 214 | # for bugmailer |
| 215 | PRODUCT_PACKAGES += send_bug |
| 216 | PRODUCT_COPY_FILES += \ |
| 217 | system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \ |
| 218 | system/extras/bugmailer/send_bug:system/bin/send_bug |
| 219 | |
| 220 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |