Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 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 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 18 | LOCAL_KERNEL := device/samsung/manta/kernel |
| 19 | else |
| 20 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 21 | endif |
| 22 | |
Dima Zavin | a67dcf2 | 2012-02-22 14:52:22 -0800 | [diff] [blame] | 23 | PRODUCT_COPY_FILES := \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 24 | $(LOCAL_KERNEL):kernel \ |
| 25 | device/samsung/manta/init.manta.rc:root/init.manta.rc \ |
| 26 | device/samsung/manta/init.manta.usb.rc:root/init.manta.usb.rc \ |
Colin Cross | 31a2d7a | 2012-08-08 13:08:16 -0700 | [diff] [blame] | 27 | device/samsung/manta/init.recovery.manta.rc:root/init.recovery.manta.rc \ |
Ken Sumrall | fa170c7 | 2012-04-12 14:40:39 -0700 | [diff] [blame] | 28 | device/samsung/manta/fstab.manta:root/fstab.manta \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 29 | device/samsung/manta/ueventd.manta.rc:root/ueventd.manta.rc |
Colin Cross | 29380e6 | 2012-03-06 17:41:22 -0800 | [diff] [blame] | 30 | |
Dima Zavin | 50acc67 | 2012-03-09 14:16:43 -0800 | [diff] [blame] | 31 | # Input device files for manta |
| 32 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 33 | device/samsung/manta/Atmel_maXTouch_Touchscreen.idc:system/usr/idc/Atmel_maXTouch_Touchscreen.idc \ |
| 34 | device/samsung/manta/manta-keypad.kl:system/usr/keylayout/manta-keypad.kl \ |
| 35 | device/samsung/manta/manta-keypad.kcm:system/usr/keychars/manta-keypad.kcm |
Dima Zavin | 50acc67 | 2012-03-09 14:16:43 -0800 | [diff] [blame] | 36 | |
| 37 | |
Colin Cross | 29380e6 | 2012-03-06 17:41:22 -0800 | [diff] [blame] | 38 | # Init files for booting smdk5250 with a manta image |
| 39 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 40 | device/samsung/manta/init.smdk5250.rc:root/init.smdk5250.rc \ |
| 41 | device/samsung/manta/init.smdk5250.usb.rc:root/init.smdk5250.usb.rc \ |
Ken Sumrall | fa170c7 | 2012-04-12 14:40:39 -0700 | [diff] [blame] | 42 | device/samsung/manta/fstab.smdk5250:root/fstab.smdk5250 \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 43 | device/samsung/manta/ueventd.smdk5250.rc:root/ueventd.smdk5250.rc |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 44 | |
Dima Zavin | 40cec16 | 2012-02-22 23:52:19 -0800 | [diff] [blame] | 45 | # Input device files for smdk5250 |
| 46 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 47 | device/samsung/manta/egalax_i2c.idc:system/usr/idc/egalax_i2c.idc \ |
| 48 | device/samsung/manta/smdk5250-keypad.kl:system/usr/keylayout/smdk5250-keypad.kl \ |
| 49 | device/samsung/manta/smdk5250-keypad.kcm:system/usr/keychars/smdk5250-keypad.kcm |
Dima Zavin | 40cec16 | 2012-02-22 23:52:19 -0800 | [diff] [blame] | 50 | |
Dima Zavin | 4dcb383 | 2012-03-02 10:54:58 -0800 | [diff] [blame] | 51 | PRODUCT_COPY_FILES += \ |
Colin Cross | 91cba43 | 2012-03-26 16:25:50 -0700 | [diff] [blame] | 52 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ |
| 53 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
Rebecca Schultz Zavin | c2c95e1 | 2012-04-04 16:26:48 -0700 | [diff] [blame] | 54 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
Dmitry Shmidt | d8b1fa6 | 2012-07-10 18:35:48 -0700 | [diff] [blame] | 55 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
Lajos Molnar | 5fd81eb | 2014-03-19 14:43:16 -0700 | [diff] [blame] | 56 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 57 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 58 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
Rebecca Schultz Zavin | c2c95e1 | 2012-04-04 16:26:48 -0700 | [diff] [blame] | 59 | device/samsung/manta/media_codecs.xml:system/etc/media_codecs.xml \ |
Sungjoong Kang | f51999a | 2012-07-25 18:02:17 -0700 | [diff] [blame] | 60 | device/samsung/manta/media_profiles.xml:system/etc/media_profiles.xml \ |
Eino-Ville Talvala | 8338b4d | 2012-09-23 09:17:51 -0700 | [diff] [blame] | 61 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
Dima Zavin | b1c206d | 2012-05-01 22:07:43 -0700 | [diff] [blame] | 62 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
Benoit Goby | 819ac1d | 2012-07-31 22:16:20 -0700 | [diff] [blame] | 63 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 64 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
JP Abgrall | 12315fe | 2012-08-10 11:49:17 -0700 | [diff] [blame] | 65 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 66 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 67 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 68 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ |
| 69 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
Glenn Kasten | 0ff6b67 | 2012-10-16 11:47:06 -0700 | [diff] [blame] | 70 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
Matthew Xie | 4e7fe45 | 2013-05-08 18:56:27 -0700 | [diff] [blame] | 71 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml |
Keun young Park | d569e96 | 2012-08-10 15:12:17 -0700 | [diff] [blame] | 72 | |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 73 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 74 | device/samsung/manta/bcmdhd.cal:system/etc/wifi/bcmdhd.cal |
Dima Zavin | 4dcb383 | 2012-03-02 10:54:58 -0800 | [diff] [blame] | 75 | |
Simon Wilson | 15f60a8 | 2012-04-24 20:56:32 -0700 | [diff] [blame] | 76 | # audio mixer paths |
| 77 | PRODUCT_COPY_FILES += \ |
| 78 | device/samsung/manta/mixer_paths.xml:system/etc/mixer_paths.xml |
| 79 | |
| 80 | # audio policy configuration |
| 81 | PRODUCT_COPY_FILES += \ |
| 82 | device/samsung/manta/audio_policy.conf:system/etc/audio_policy.conf |
| 83 | |
Ying Wang | 583ba6f | 2013-11-25 13:50:23 -0800 | [diff] [blame] | 84 | PRODUCT_PACKAGES := \ |
| 85 | libwpa_client \ |
| 86 | hostapd \ |
| 87 | wpa_supplicant \ |
| 88 | wpa_supplicant.conf |
| 89 | |
Jean-Michel Trivi | e04f7c9 | 2012-09-30 16:01:41 -0700 | [diff] [blame] | 90 | # audio effects |
| 91 | PRODUCT_PACKAGES += libaudience_voicefx |
| 92 | PRODUCT_COPY_FILES += \ |
| 93 | device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf |
| 94 | |
Bono Koo | c3e28db | 2012-06-21 13:41:36 +0900 | [diff] [blame] | 95 | # BCM47511 GPS |
| 96 | PRODUCT_COPY_FILES += \ |
| 97 | device/samsung/manta/gps/gps.conf:system/etc/gps.conf \ |
| 98 | device/samsung/manta/gps/gpsd:system/vendor/bin/gpsd \ |
| 99 | device/samsung/manta/gps/gps.xml:system/vendor/etc/gps.xml \ |
| 100 | device/samsung/manta/gps/gps.exynos5.so:system/lib/hw/gps.exynos5.so |
| 101 | |
Martijn Coenen | a44149b | 2012-07-18 15:24:00 -0700 | [diff] [blame] | 102 | # NFC packages |
| 103 | PRODUCT_PACKAGES += \ |
Martijn Coenen | 7d48825 | 2012-09-18 16:52:41 -0700 | [diff] [blame] | 104 | nfc_nci.manta \ |
Martijn Coenen | a44149b | 2012-07-18 15:24:00 -0700 | [diff] [blame] | 105 | NfcNci \ |
| 106 | Tag \ |
| 107 | com.android.nfc_extras |
| 108 | |
| 109 | # NFCEE access control |
| 110 | ifeq ($(TARGET_BUILD_VARIANT),user) |
Martijn Coenen | 779f93b | 2012-07-30 13:18:09 -0700 | [diff] [blame] | 111 | NFCEE_ACCESS_PATH := device/samsung/manta/nfc/nfcee_access.xml |
Martijn Coenen | a44149b | 2012-07-18 15:24:00 -0700 | [diff] [blame] | 112 | else |
Martijn Coenen | 779f93b | 2012-07-30 13:18:09 -0700 | [diff] [blame] | 113 | NFCEE_ACCESS_PATH := device/samsung/manta/nfc/nfcee_access_debug.xml |
Martijn Coenen | a44149b | 2012-07-18 15:24:00 -0700 | [diff] [blame] | 114 | endif |
| 115 | |
| 116 | # NFC access control + feature files + configuration |
| 117 | PRODUCT_COPY_FILES += \ |
| 118 | $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml \ |
| 119 | frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ |
| 120 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
Martijn Coenen | 5998511 | 2013-07-22 17:05:30 -0700 | [diff] [blame] | 121 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
Martijn Coenen | 779f93b | 2012-07-30 13:18:09 -0700 | [diff] [blame] | 122 | device/samsung/manta/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf |
Martijn Coenen | a44149b | 2012-07-18 15:24:00 -0700 | [diff] [blame] | 123 | |
Dmitry Shmidt | d868071 | 2012-07-11 17:16:26 -0700 | [diff] [blame] | 124 | PRODUCT_PACKAGES += \ |
JP Abgrall | 5dcc6c9 | 2012-05-31 20:39:43 -0700 | [diff] [blame] | 125 | lights.manta \ |
| 126 | sensors.manta |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 127 | |
Colin Cross | 7047698 | 2012-03-09 12:22:30 -0800 | [diff] [blame] | 128 | PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi |
| 129 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 130 | |
| 131 | PRODUCT_CHARACTERISTICS := tablet,nosdcard |
| 132 | |
| 133 | DEVICE_PACKAGE_OVERLAYS := \ |
| 134 | device/samsung/manta/overlay |
| 135 | |
Dima Zavin | e6046d3 | 2012-03-01 18:45:13 -0800 | [diff] [blame] | 136 | # for now include gralloc here. should come from hardware/samsung_slsi/exynos5 |
| 137 | PRODUCT_PACKAGES += \ |
| 138 | gralloc.exynos5 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 139 | |
Jean-Baptiste Queru | 9267157 | 2012-07-26 15:04:02 -0700 | [diff] [blame] | 140 | PRODUCT_PACKAGES += \ |
| 141 | libion |
| 142 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 143 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 144 | |
| 145 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 146 | librs_jni \ |
| 147 | com.android.future.usb.accessory |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 148 | |
| 149 | PRODUCT_PACKAGES += \ |
Simon Wilson | 15f60a8 | 2012-04-24 20:56:32 -0700 | [diff] [blame] | 150 | audio.primary.manta \ |
Mike Lockwood | 9b771b6 | 2012-09-11 13:07:06 -0700 | [diff] [blame] | 151 | audio.a2dp.default \ |
Eric Laurent | bec6aef | 2012-10-16 10:06:15 -0700 | [diff] [blame] | 152 | audio.usb.default \ |
Andreas Huber | b8af714 | 2012-11-30 09:33:53 -0800 | [diff] [blame] | 153 | libbubblelevel \ |
| 154 | audio.r_submix.default |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 155 | |
Arve Hjønnevåg | 59c0d46 | 2012-03-16 18:51:11 -0700 | [diff] [blame] | 156 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 157 | power.manta |
Arve Hjønnevåg | 59c0d46 | 2012-03-16 18:51:11 -0700 | [diff] [blame] | 158 | |
Dima Zavin | b1c206d | 2012-05-01 22:07:43 -0700 | [diff] [blame] | 159 | PRODUCT_PACKAGES += \ |
| 160 | camera.exynos5 |
| 161 | |
Ken Sumrall | c82a1ce | 2012-09-09 15:01:10 -0700 | [diff] [blame] | 162 | # Filesystem management tools |
| 163 | PRODUCT_PACKAGES += \ |
| 164 | e2fsck |
| 165 | |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 166 | PRODUCT_PROPERTY_OVERRIDES := \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 167 | wifi.interface=wlan0 \ |
Jesse Hall | 715cc3e | 2013-03-15 12:42:12 -0700 | [diff] [blame] | 168 | ro.opengles.version=196608 \ |
Romain Guy | 0e5f640 | 2012-08-30 12:04:08 -0700 | [diff] [blame] | 169 | ro.sf.lcd_density=320 \ |
| 170 | ro.hwui.texture_cache_size=72 \ |
| 171 | ro.hwui.layer_cache_size=48 \ |
Romain Guy | 756c990 | 2013-02-12 16:35:00 -0800 | [diff] [blame] | 172 | ro.hwui.r_buffer_cache_size=8 \ |
Romain Guy | 74c9380 | 2013-03-19 11:03:38 -0700 | [diff] [blame] | 173 | ro.hwui.path_cache_size=32 \ |
Romain Guy | 0e5f640 | 2012-08-30 12:04:08 -0700 | [diff] [blame] | 174 | ro.hwui.gradient_cache_size=1 \ |
| 175 | ro.hwui.drop_shadow_cache_size=6 \ |
Romain Guy | 1e9d695 | 2013-03-19 11:56:52 -0700 | [diff] [blame] | 176 | ro.hwui.texture_cache_flushrate=0.4 \ |
Chet Haase | b581f0f | 2012-08-31 14:20:10 -0700 | [diff] [blame] | 177 | ro.hwui.text_small_cache_width=1024 \ |
| 178 | ro.hwui.text_small_cache_height=1024 \ |
| 179 | ro.hwui.text_large_cache_width=2048 \ |
Erik Gilling | e1a91fc | 2012-10-18 17:12:26 -0700 | [diff] [blame] | 180 | ro.hwui.text_large_cache_height=1024 \ |
| 181 | ro.hwui.disable_scissor_opt=true |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 182 | |
Dima Zavin | b32016c | 2012-03-23 14:07:12 -0700 | [diff] [blame] | 183 | # setup dalvik vm configs. |
Jason Chen | d766a35 | 2012-08-01 22:35:52 -0700 | [diff] [blame] | 184 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
Dima Zavin | b32016c | 2012-03-23 14:07:12 -0700 | [diff] [blame] | 185 | |
Dave Burke | 9f5396e | 2012-09-13 16:27:03 -0700 | [diff] [blame] | 186 | # Enable AAC 5.1 output |
| 187 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 188 | media.aac_51_output_enabled=true |
| 189 | |
Benoit Goby | 0b60f39 | 2012-07-11 17:16:29 -0700 | [diff] [blame] | 190 | # set default USB configuration |
| 191 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 192 | persist.sys.usb.config=mtp |
| 193 | |
Jeong-Seok Yang | cbee0e3 | 2012-04-30 14:21:42 +0900 | [diff] [blame] | 194 | # for off charging mode |
| 195 | PRODUCT_PACKAGES += \ |
Jeong-Seok Yang | cbee0e3 | 2012-04-30 14:21:42 +0900 | [diff] [blame] | 196 | charger_res_images |
| 197 | |
Jean-Baptiste Queru | 251ec19 | 2012-09-05 18:31:15 -0700 | [diff] [blame] | 198 | $(call inherit-product-if-exists, hardware/samsung_slsi/exynos5/exynos5.mk) |
Dima Zavin | 6c0d627 | 2012-03-23 14:04:58 -0700 | [diff] [blame] | 199 | $(call inherit-product-if-exists, vendor/samsung_slsi/exynos5/exynos5-vendor.mk) |
| 200 | $(call inherit-product-if-exists, vendor/samsung/manta/device-vendor.mk) |
Dima Zavin | 6c0d627 | 2012-03-23 14:04:58 -0700 | [diff] [blame] | 201 | |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 202 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4324/device-bcm.mk) |