blob: 9945fe0c937075e78b24b4013ed5587e1fa8961d [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
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070034# Live Wallpapers
35PRODUCT_PACKAGES += \
36 LiveWallpapers \
37 LiveWallpapersPicker \
38 VisualizationWallpapers \
39 librs_jni
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070040
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070041LOCAL_KERNEL := device/lge/mako-kernel/kernel
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070042
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070043PRODUCT_COPY_FILES := \
44 $(LOCAL_KERNEL):kernel
45
46PRODUCT_COPY_FILES += \
47 device/lge/mako-kernel/prima_wlan.ko:system/lib/modules/wlan.ko \
Sungmin Choi5fd819d2012-07-18 01:49:40 -070048 device/lge/mako/WCNSS_cfg.dat:system/vendor/firmware/wlan/prima/WCNSS_cfg.dat \
49 device/lge/mako/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
50 device/lge/mako/WCNSS_qcom_wlan_nv.bin:system/etc/wifi/WCNSS_qcom_wlan_nv.bin
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070051
52PRODUCT_COPY_FILES += \
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -070053 system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
54
55PRODUCT_COPY_FILES += \
Sungmin Choi53cb3c92012-07-01 15:33:03 -070056 device/lge/mako/snd_soc_msm_2x_Fusion3:system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3
57
58PRODUCT_COPY_FILES += \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070059 device/lge/mako/init.mako.rc:root/init.mako.rc \
60 device/lge/mako/init.mako.usb.rc:root/init.mako.usb.rc \
Brian Muramatsu482dad72012-06-18 18:58:21 -070061 device/lge/mako/fstab.mako:root/fstab.mako \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070062 device/lge/mako/ueventd.mako.rc:root/ueventd.mako.rc \
Ajay Dudani83aa55e2012-06-15 18:46:22 -070063 device/lge/mako/media_profiles.xml:system/etc/media_profiles.xml \
64 device/lge/mako/media_codecs.xml:system/etc/media_codecs.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070065
66# Prebuilt kl and kcm keymaps
67PRODUCT_COPY_FILES += \
68 device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl \
69 device/lge/mako/hs_detect.kl:system/usr/keylayout/hs_detect.kl \
sungmin.choi46ec5fe2012-06-22 12:56:04 -070070 device/lge/mako/pmic8xxx_pwrkey.kl:system/usr/keylayout/pmic8xxx_pwrkey.kl \
71 device/lge/mako/keypad_8064.kl:system/usr/keylayout/keypad_8064.kl \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070072 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 -070073 device/lge/mako/hs_detect.kcm:system/usr/keychars/hs_detect.kcm \
74 device/lge/mako/keypad_8064.kcm:system/usr/keychars/keypad_8064.kcm \
75 device/lge/mako/pmic8xxx_pwrkey.kcm:system/usr/keychars/pmic8xxx_pwrkey.kcm
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070076
77# Prebuilt input device calibration files
78PRODUCT_COPY_FILES += \
Iliyan Malcheve011ca22012-06-14 14:58:24 -070079 device/lge/mako/touch_dev.idc:system/usr/idc/touch_dev.idc
80
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070081# These are the hardware-specific features
82PRODUCT_COPY_FILES += \
83 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
84 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
85 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
86 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
87 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
Mekala Natarajancdea6b02012-06-26 18:59:03 -070088 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070089 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
90 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
91 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
92 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
93 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
94 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
95 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
96 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
Iliyan Malchev272d3422012-06-12 11:54:57 -070097 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml
98# packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070099
100PRODUCT_PROPERTY_OVERRIDES += \
101 ro.opengles.version=131072
102
103PRODUCT_PROPERTY_OVERRIDES += \
104 ro.sf.lcd_density=320
105
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700106PRODUCT_PROPERTY_OVERRIDES += \
107 persist.audio.handset.mic=analog
108
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700109PRODUCT_CHARACTERISTICS := nosdcard
110
111PRODUCT_TAGS += dalvik.gc.type-precise
112
113PRODUCT_PACKAGES += \
114 librs_jni \
115 com.android.future.usb.accessory
116
117# Filesystem management tools
118PRODUCT_PACKAGES += \
119 make_ext4fs \
120 setup_fs
121
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700122PRODUCT_PACKAGES += \
123 libgenlock \
124 liboverlay \
125 hwcomposer.msm8960 \
126 gralloc.msm8960 \
127 copybit.msm8960
128
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700129PRODUCT_PACKAGES += \
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700130 alsa.msm8960 \
131 audio_policy.msm8960 \
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700132 audio.primary.msm8960 \
133 audio_policy.conf
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700134
sungmin.choi2dca1452012-06-25 14:49:10 -0700135PRODUCT_PACKAGES += \
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700136 hci_qcomm_init
137
138PRODUCT_COPY_FILES += \
139 device/lge/mako/init.mako.bt.sh:system/etc/init.mako.bt.sh
140
141PRODUCT_PROPERTY_OVERRIDES += \
142 ro.qualcomm.bt.hci_transport=smd
143
144PRODUCT_PACKAGES += \
Ajay Dudanib3f2b962012-07-08 17:02:10 -0700145 camera.msm8960 \
146 libmmcamera_interface2
147
148PRODUCT_PACKAGES += \
Sungmin Choid1977932012-06-29 10:43:10 -0700149 mm-vdec-omx-test \
150 mm-venc-omx-test720p \
151 libdivxdrmdecrypt \
sungmin.choi2dca1452012-06-25 14:49:10 -0700152 libOmxVdec \
153 libOmxVenc \
154 libOmxCore
155
Ajay Dudanie1144092012-06-15 21:07:31 -0700156PRODUCT_PACKAGES += \
157 libloc_adapter \
158 libloc_eng \
159 libloc_api_v02 \
160 libgps.utils \
161 gps.msm8960
162
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700163PRODUCT_PACKAGES += \
164 libwfcu \
165 conn_init
166
Abhishek Adappad0e57532012-06-15 19:32:55 -0700167PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
168 rild.libpath=/system/lib/libril-qc-qmi-1.so
169
agathon.junge1e51092012-07-05 10:44:34 -0700170PRODUCT_PROPERTY_OVERRIDES += \
Brian Muramatsu0dd0a502012-07-10 16:02:01 -0700171 drm.service.enabled=true \
agathon.junge1e51092012-07-05 10:44:34 -0700172 ro.telephony.default_network=9
173
Sungmin Choia67f0d22012-07-16 00:17:54 -0700174PRODUCT_PROPERTY_OVERRIDES += \
175 wifi.interface=wlan0 \
176 wifi.supplicant_scan_interval=15
177
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700178# for bugmailer
179PRODUCT_PACKAGES += send_bug
180PRODUCT_COPY_FILES += \
181 system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
182 system/extras/bugmailer/send_bug:system/bin/send_bug
183
184$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)