| 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 | |
| Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame^] | 34 | # Live Wallpapers |
| 35 | PRODUCT_PACKAGES += \ |
| 36 | LiveWallpapers \ |
| 37 | LiveWallpapersPicker \ |
| 38 | VisualizationWallpapers \ |
| 39 | librs_jni |
| Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 40 | |
| Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame^] | 41 | LOCAL_KERNEL := device/lge/mako-kernel/kernel |
| Jean-Baptiste Queru | f71ec4b | 2012-06-05 15:25:30 -0700 | [diff] [blame] | 42 | |
| Iliyan Malchev | fefe23c | 2012-06-08 10:36:25 -0700 | [diff] [blame^] | 43 | PRODUCT_COPY_FILES := \ |
| 44 | $(LOCAL_KERNEL):kernel |
| 45 | |
| 46 | PRODUCT_COPY_FILES += \ |
| 47 | device/lge/mako-kernel/prima_wlan.ko:system/lib/modules/wlan.ko \ |
| 48 | device/lge/mako/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 49 | device/lge/mako/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ |
| 50 | device/lge/mako/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin |
| 51 | |
| 52 | PRODUCT_COPY_FILES += \ |
| 53 | device/lge/mako/init.mako.rc:root/init.mako.rc \ |
| 54 | device/lge/mako/init.mako.usb.rc:root/init.mako.usb.rc \ |
| 55 | device/lge/mako/ueventd.mako.rc:root/ueventd.mako.rc \ |
| 56 | device/lge/mako/vold.fstab:system/etc/vold.fstab \ |
| 57 | device/lge/mako/media_profiles.xml:system/etc/media_profiles.xml |
| 58 | |
| 59 | # Prebuilt kl and kcm keymaps |
| 60 | PRODUCT_COPY_FILES += \ |
| 61 | device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl \ |
| 62 | device/lge/mako/hs_detect.kl:system/usr/keylayout/hs_detect.kl \ |
| 63 | device/lge/mako/mako-keypad.kl:system/usr/keylayout/mako-keypad.kl \ |
| 64 | device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kcm:system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm \ |
| 65 | device/lge/mako/hs_detect.kcm:system/usr/keychars/hs_detect.kcm \ |
| 66 | device/lge/mako/mako-keypad.kcm:system/usr/keychars/mako-keypad.kcm |
| 67 | |
| 68 | # Prebuilt input device calibration files |
| 69 | PRODUCT_COPY_FILES += \ |
| 70 | device/lge/mako/touch_dev.idc:system/usr/idc/touch_dev.idc \ |
| 71 | device/lge/mako/keypad_8064.idc:system/usr/idc/keypad_8064.idc |
| 72 | |
| 73 | # These are the hardware-specific features |
| 74 | PRODUCT_COPY_FILES += \ |
| 75 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ |
| 76 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 77 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 78 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 79 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 80 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 81 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 82 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 83 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 84 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 85 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 86 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 87 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 88 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 89 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 90 | packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml |
| 91 | |
| 92 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 93 | ro.opengles.version=131072 |
| 94 | |
| 95 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 96 | ro.sf.lcd_density=320 |
| 97 | |
| 98 | PRODUCT_CHARACTERISTICS := nosdcard |
| 99 | |
| 100 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 101 | |
| 102 | PRODUCT_PACKAGES += \ |
| 103 | librs_jni \ |
| 104 | com.android.future.usb.accessory |
| 105 | |
| 106 | # Filesystem management tools |
| 107 | PRODUCT_PACKAGES += \ |
| 108 | make_ext4fs \ |
| 109 | setup_fs |
| 110 | |
| 111 | # HWComposer |
| 112 | #PRODUCT_PACKAGES += \ |
| 113 | # hwcomposer.default |
| 114 | PRODUCT_PACKAGES += \ |
| 115 | libgenlock \ |
| 116 | liboverlay \ |
| 117 | hwcomposer.msm8960 \ |
| 118 | gralloc.msm8960 \ |
| 119 | copybit.msm8960 |
| 120 | |
| 121 | #Qcom spec graphics |
| 122 | MM_GRAPHICS := libgsl |
| 123 | MM_GRAPHICS += libsc-adreno200.a |
| 124 | MM_GRAPHICS += libEGL_adreno200 |
| 125 | MM_GRAPHICS += eglsubAndroid |
| 126 | MM_GRAPHICS += libGLESv2_adreno200 |
| 127 | MM_GRAPHICS += libGLESv2S3D_adreno200 |
| 128 | MM_GRAPHICS += libGLESv1_CM_adreno200 |
| 129 | MM_GRAPHICS += libq3dtools_adreno200 |
| 130 | MM_GRAPHICS += libOpenVG |
| 131 | MM_GRAPHICS += libC2D2 |
| 132 | MM_GRAPHICS += libc2d2_a3xx |
| 133 | MM_GRAPHICS += libc2d2_z180 |
| 134 | MM_GRAPHICS += libllvm-a3xx |
| 135 | MM_GRAPHICS += libOpenCL |
| 136 | MM_GRAPHICS += libsc-a2xx |
| 137 | MM_GRAPHICS += libsc-a3xx |
| 138 | MM_GRAPHICS += yamato_pfp.fw |
| 139 | MM_GRAPHICS += yamato_pm4.fw |
| 140 | MM_GRAPHICS += leia_pfp_470.fw |
| 141 | MM_GRAPHICS += leia_pm4_470.fw |
| 142 | MM_GRAPHICS += a225_pfp.fw |
| 143 | MM_GRAPHICS += a225_pm4.fw |
| 144 | MM_GRAPHICS += a225p5_pm4.fw |
| 145 | MM_GRAPHICS += a300_pfp.fw |
| 146 | MM_GRAPHICS += a300_pm4.fw |
| 147 | MM_GRAPHICS += a330_pfp.fw |
| 148 | MM_GRAPHICS += a330_pm4.fw |
| 149 | MM_GRAPHICS += gpu_dcvsd |
| 150 | |
| 151 | |
| 152 | PRODUCT_PACKAGES += $(MM_GRAPHICS) |
| 153 | |
| 154 | |
| 155 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 156 | persist.sys.usb.config=pc_suite |
| 157 | |
| 158 | # for bugmailer |
| 159 | PRODUCT_PACKAGES += send_bug |
| 160 | PRODUCT_COPY_FILES += \ |
| 161 | system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \ |
| 162 | system/extras/bugmailer/send_bug:system/bin/send_bug |
| 163 | |
| 164 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |