blob: df18d38007bbc28ddcc7ac21bd8fa3b578ade79b [file] [log] [blame]
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07001#
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07002# Copyright (C) 2011 The Android Open-Source Project
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07003#
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 Malchevfefe23c2012-06-08 10:36:25 -070017# 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 Queruda90dca2012-06-05 16:03:03 -070021
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070022DEVICE_PACKAGE_OVERLAYS := device/lge/mako/overlay
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070023
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070024# 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.
28PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
29PRODUCT_AAPT_PREF_CONFIG := xhdpi
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070030
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070031PRODUCT_PACKAGES := \
32 lights.msm8960
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070033
sungmin.choieb1d30c2012-06-19 22:24:43 -070034PRODUCT_PACKAGES += \
35 charger_res_images \
36 charger
37
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070038# Live Wallpapers
39PRODUCT_PACKAGES += \
40 LiveWallpapers \
41 LiveWallpapersPicker \
42 VisualizationWallpapers \
43 librs_jni
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070044
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070045LOCAL_KERNEL := device/lge/mako-kernel/kernel
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070046
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070047PRODUCT_COPY_FILES := \
48 $(LOCAL_KERNEL):kernel
49
50PRODUCT_COPY_FILES += \
51 device/lge/mako-kernel/prima_wlan.ko:system/lib/modules/wlan.ko \
Sungmin Choi5fd819d2012-07-18 01:49:40 -070052 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 Malchevfefe23c2012-06-08 10:36:25 -070055
56PRODUCT_COPY_FILES += \
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -070057 system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
58
59PRODUCT_COPY_FILES += \
Sungmin Choi099cdae2012-07-20 15:46:01 -070060 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 Choi53cb3c92012-07-01 15:33:03 -070062
63PRODUCT_COPY_FILES += \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070064 device/lge/mako/init.mako.rc:root/init.mako.rc \
65 device/lge/mako/init.mako.usb.rc:root/init.mako.usb.rc \
Brian Muramatsu482dad72012-06-18 18:58:21 -070066 device/lge/mako/fstab.mako:root/fstab.mako \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070067 device/lge/mako/ueventd.mako.rc:root/ueventd.mako.rc \
Ajay Dudani83aa55e2012-06-15 18:46:22 -070068 device/lge/mako/media_profiles.xml:system/etc/media_profiles.xml \
69 device/lge/mako/media_codecs.xml:system/etc/media_codecs.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070070
71# Prebuilt kl and kcm keymaps
72PRODUCT_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.choi46ec5fe2012-06-22 12:56:04 -070075 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 Malchevfefe23c2012-06-08 10:36:25 -070077 device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kcm:system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm \
sungmin.choi46ec5fe2012-06-22 12:56:04 -070078 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 Malchevfefe23c2012-06-08 10:36:25 -070081
82# Prebuilt input device calibration files
83PRODUCT_COPY_FILES += \
Iliyan Malcheve011ca22012-06-14 14:58:24 -070084 device/lge/mako/touch_dev.idc:system/usr/idc/touch_dev.idc
85
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070086# These are the hardware-specific features
87PRODUCT_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 Natarajancdea6b02012-06-26 18:59:03 -070093 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070094 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 Malchevfefe23c2012-06-08 10:36:25 -070099 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 Choi6267c982012-07-24 14:12:09 -0700101 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 Malchev272d3422012-06-12 11:54:57 -0700103# packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700104
Martijn Coenen6c11a692012-07-31 13:25:27 -0700105# NFC packages
106PRODUCT_PACKAGES += \
107 libnfc-nci \
108 libnfc_nci_jni \
109 NfcNci \
110 Tag \
111 com.android.nfc_extras
112
113# NFCEE access control
114ifeq ($(TARGET_BUILD_VARIANT),user)
115 NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access.xml
116else
117 NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access_debug.xml
118endif
119
120# NFC access control + feature files + configuration
121PRODUCT_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
128PRODUCT_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 Malchevfefe23c2012-06-08 10:36:25 -0700132PRODUCT_PROPERTY_OVERRIDES += \
133 ro.opengles.version=131072
134
135PRODUCT_PROPERTY_OVERRIDES += \
136 ro.sf.lcd_density=320
137
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700138PRODUCT_PROPERTY_OVERRIDES += \
139 persist.audio.handset.mic=analog
140
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700141PRODUCT_CHARACTERISTICS := nosdcard
142
143PRODUCT_TAGS += dalvik.gc.type-precise
144
145PRODUCT_PACKAGES += \
146 librs_jni \
147 com.android.future.usb.accessory
148
149# Filesystem management tools
150PRODUCT_PACKAGES += \
151 make_ext4fs \
152 setup_fs
153
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700154PRODUCT_PACKAGES += \
155 libgenlock \
156 liboverlay \
157 hwcomposer.msm8960 \
158 gralloc.msm8960 \
159 copybit.msm8960
160
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700161PRODUCT_PACKAGES += \
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700162 alsa.msm8960 \
163 audio_policy.msm8960 \
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700164 audio.primary.msm8960 \
Sungmin Choi099cdae2012-07-20 15:46:01 -0700165 audio.a2dp.default \
166 audio.usb.default
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700167
sungmin.choi2dca1452012-06-25 14:49:10 -0700168PRODUCT_PACKAGES += \
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700169 hci_qcomm_init
170
171PRODUCT_COPY_FILES += \
172 device/lge/mako/init.mako.bt.sh:system/etc/init.mako.bt.sh
173
174PRODUCT_PROPERTY_OVERRIDES += \
175 ro.qualcomm.bt.hci_transport=smd
176
177PRODUCT_PACKAGES += \
Ajay Dudanib3f2b962012-07-08 17:02:10 -0700178 camera.msm8960 \
179 libmmcamera_interface2
180
181PRODUCT_PACKAGES += \
Sungmin Choid1977932012-06-29 10:43:10 -0700182 mm-vdec-omx-test \
183 mm-venc-omx-test720p \
184 libdivxdrmdecrypt \
sungmin.choi2dca1452012-06-25 14:49:10 -0700185 libOmxVdec \
186 libOmxVenc \
187 libOmxCore
188
Ajay Dudanie1144092012-06-15 21:07:31 -0700189PRODUCT_PACKAGES += \
190 libloc_adapter \
191 libloc_eng \
192 libloc_api_v02 \
193 libgps.utils \
194 gps.msm8960
195
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700196PRODUCT_PACKAGES += \
jeonghoon.lim85ddb8c2012-07-20 11:35:54 +0900197 bdAddrLoader \
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700198 libwfcu \
199 conn_init
200
Abhishek Adappad0e57532012-06-15 19:32:55 -0700201PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
202 rild.libpath=/system/lib/libril-qc-qmi-1.so
203
agathon.junge1e51092012-07-05 10:44:34 -0700204PRODUCT_PROPERTY_OVERRIDES += \
agathon.jung77563422012-07-24 09:54:51 -0700205 drm.service.enabled=true
agathon.junge1e51092012-07-05 10:44:34 -0700206
Sungmin Choia67f0d22012-07-16 00:17:54 -0700207PRODUCT_PROPERTY_OVERRIDES += \
208 wifi.interface=wlan0 \
209 wifi.supplicant_scan_interval=15
210
Devin Kim3ed28942012-08-03 16:17:50 -0700211PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
212 persist.sys.usb.config=mtp
213
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700214# for bugmailer
215PRODUCT_PACKAGES += send_bug
216PRODUCT_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)