blob: b2f070f487d92e66c5176a00b8eb2e4bf0dd8bf0 [file] [log] [blame]
Dima Zavin7e497e32012-02-07 14:51:59 -08001#
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
17ifeq ($(TARGET_PREBUILT_KERNEL),)
18LOCAL_KERNEL := device/samsung/manta/kernel
19else
20LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
21endif
22
Dima Zavina67dcf22012-02-22 14:52:22 -080023PRODUCT_COPY_FILES := \
Ying Wangdbd93a52012-03-21 17:42:22 -070024 $(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 Cross31a2d7a2012-08-08 13:08:16 -070027 device/samsung/manta/init.recovery.manta.rc:root/init.recovery.manta.rc \
Ken Sumrallfa170c72012-04-12 14:40:39 -070028 device/samsung/manta/fstab.manta:root/fstab.manta \
Ying Wangdbd93a52012-03-21 17:42:22 -070029 device/samsung/manta/ueventd.manta.rc:root/ueventd.manta.rc
Colin Cross29380e62012-03-06 17:41:22 -080030
Dima Zavin50acc672012-03-09 14:16:43 -080031# Input device files for manta
32PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070033 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 Zavin50acc672012-03-09 14:16:43 -080036
37
Colin Cross29380e62012-03-06 17:41:22 -080038# Init files for booting smdk5250 with a manta image
39PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070040 device/samsung/manta/init.smdk5250.rc:root/init.smdk5250.rc \
41 device/samsung/manta/init.smdk5250.usb.rc:root/init.smdk5250.usb.rc \
Ken Sumrallfa170c72012-04-12 14:40:39 -070042 device/samsung/manta/fstab.smdk5250:root/fstab.smdk5250 \
Ying Wangdbd93a52012-03-21 17:42:22 -070043 device/samsung/manta/ueventd.smdk5250.rc:root/ueventd.smdk5250.rc
Dima Zavin7e497e32012-02-07 14:51:59 -080044
Dima Zavin40cec162012-02-22 23:52:19 -080045# Input device files for smdk5250
46PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070047 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 Zavin40cec162012-02-22 23:52:19 -080050
Dima Zavin4dcb3832012-03-02 10:54:58 -080051PRODUCT_COPY_FILES += \
Colin Cross91cba432012-03-26 16:25:50 -070052 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 Zavinc2c95e12012-04-04 16:26:48 -070054 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
Dmitry Shmidtd8b1fa62012-07-10 18:35:48 -070055 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
Lajos Molnar5fd81eb2014-03-19 14:43:16 -070056 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 Zavinc2c95e12012-04-04 16:26:48 -070059 device/samsung/manta/media_codecs.xml:system/etc/media_codecs.xml \
Sungjoong Kangf51999a2012-07-25 18:02:17 -070060 device/samsung/manta/media_profiles.xml:system/etc/media_profiles.xml \
Eino-Ville Talvala8338b4d2012-09-23 09:17:51 -070061 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
Dima Zavinb1c206d2012-05-01 22:07:43 -070062 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
Benoit Goby819ac1d2012-07-31 22:16:20 -070063 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 Abgrall12315fe2012-08-10 11:49:17 -070065 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 Kasten0ff6b672012-10-16 11:47:06 -070070 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
Matthew Xie4e7fe452013-05-08 18:56:27 -070071 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml
Keun young Parkd569e962012-08-10 15:12:17 -070072
Dmitry Shmidte87ec972012-03-16 09:43:07 -070073PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070074 device/samsung/manta/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
Dima Zavin4dcb3832012-03-02 10:54:58 -080075
Simon Wilson15f60a82012-04-24 20:56:32 -070076# audio mixer paths
77PRODUCT_COPY_FILES += \
78 device/samsung/manta/mixer_paths.xml:system/etc/mixer_paths.xml
79
80# audio policy configuration
81PRODUCT_COPY_FILES += \
82 device/samsung/manta/audio_policy.conf:system/etc/audio_policy.conf
83
Ying Wang583ba6f2013-11-25 13:50:23 -080084PRODUCT_PACKAGES := \
85 libwpa_client \
86 hostapd \
87 wpa_supplicant \
88 wpa_supplicant.conf
89
Jean-Michel Trivie04f7c92012-09-30 16:01:41 -070090# audio effects
91PRODUCT_PACKAGES += libaudience_voicefx
92PRODUCT_COPY_FILES += \
93 device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf
94
Bono Kooc3e28db2012-06-21 13:41:36 +090095# BCM47511 GPS
96PRODUCT_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 Coenena44149b2012-07-18 15:24:00 -0700102# NFC packages
103PRODUCT_PACKAGES += \
Martijn Coenen7d488252012-09-18 16:52:41 -0700104 nfc_nci.manta \
Martijn Coenena44149b2012-07-18 15:24:00 -0700105 NfcNci \
106 Tag \
107 com.android.nfc_extras
108
109# NFCEE access control
110ifeq ($(TARGET_BUILD_VARIANT),user)
Martijn Coenen779f93b2012-07-30 13:18:09 -0700111 NFCEE_ACCESS_PATH := device/samsung/manta/nfc/nfcee_access.xml
Martijn Coenena44149b2012-07-18 15:24:00 -0700112else
Martijn Coenen779f93b2012-07-30 13:18:09 -0700113 NFCEE_ACCESS_PATH := device/samsung/manta/nfc/nfcee_access_debug.xml
Martijn Coenena44149b2012-07-18 15:24:00 -0700114endif
115
116# NFC access control + feature files + configuration
117PRODUCT_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 Coenen59985112013-07-22 17:05:30 -0700121 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
Martijn Coenen779f93b2012-07-30 13:18:09 -0700122 device/samsung/manta/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf
Martijn Coenena44149b2012-07-18 15:24:00 -0700123
Dmitry Shmidtd8680712012-07-11 17:16:26 -0700124PRODUCT_PACKAGES += \
JP Abgrall5dcc6c92012-05-31 20:39:43 -0700125 lights.manta \
126 sensors.manta
Dima Zavin7e497e32012-02-07 14:51:59 -0800127
Colin Cross70476982012-03-09 12:22:30 -0800128PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi
129PRODUCT_AAPT_PREF_CONFIG := xhdpi
Dima Zavin7e497e32012-02-07 14:51:59 -0800130
131PRODUCT_CHARACTERISTICS := tablet,nosdcard
132
133DEVICE_PACKAGE_OVERLAYS := \
134 device/samsung/manta/overlay
135
Dima Zavine6046d32012-03-01 18:45:13 -0800136# for now include gralloc here. should come from hardware/samsung_slsi/exynos5
137PRODUCT_PACKAGES += \
138 gralloc.exynos5
Dima Zavin7e497e32012-02-07 14:51:59 -0800139
Jean-Baptiste Queru92671572012-07-26 15:04:02 -0700140PRODUCT_PACKAGES += \
141 libion
142
Dima Zavin7e497e32012-02-07 14:51:59 -0800143PRODUCT_TAGS += dalvik.gc.type-precise
144
145PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -0700146 librs_jni \
147 com.android.future.usb.accessory
Dima Zavin7e497e32012-02-07 14:51:59 -0800148
149PRODUCT_PACKAGES += \
Simon Wilson15f60a82012-04-24 20:56:32 -0700150 audio.primary.manta \
Mike Lockwood9b771b62012-09-11 13:07:06 -0700151 audio.a2dp.default \
Eric Laurentbec6aef2012-10-16 10:06:15 -0700152 audio.usb.default \
Andreas Huberb8af7142012-11-30 09:33:53 -0800153 libbubblelevel \
154 audio.r_submix.default
Dima Zavin7e497e32012-02-07 14:51:59 -0800155
Arve Hjønnevåg59c0d462012-03-16 18:51:11 -0700156PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -0700157 power.manta
Arve Hjønnevåg59c0d462012-03-16 18:51:11 -0700158
Dima Zavinb1c206d2012-05-01 22:07:43 -0700159PRODUCT_PACKAGES += \
160 camera.exynos5
161
Ken Sumrallc82a1ce2012-09-09 15:01:10 -0700162# Filesystem management tools
163PRODUCT_PACKAGES += \
164 e2fsck
165
Dmitry Shmidte87ec972012-03-16 09:43:07 -0700166PRODUCT_PROPERTY_OVERRIDES := \
Ying Wangdbd93a52012-03-21 17:42:22 -0700167 wifi.interface=wlan0 \
Jesse Hall715cc3e2013-03-15 12:42:12 -0700168 ro.opengles.version=196608 \
Romain Guy0e5f6402012-08-30 12:04:08 -0700169 ro.sf.lcd_density=320 \
170 ro.hwui.texture_cache_size=72 \
171 ro.hwui.layer_cache_size=48 \
Romain Guy756c9902013-02-12 16:35:00 -0800172 ro.hwui.r_buffer_cache_size=8 \
Romain Guy74c93802013-03-19 11:03:38 -0700173 ro.hwui.path_cache_size=32 \
Romain Guy0e5f6402012-08-30 12:04:08 -0700174 ro.hwui.gradient_cache_size=1 \
175 ro.hwui.drop_shadow_cache_size=6 \
Romain Guy1e9d6952013-03-19 11:56:52 -0700176 ro.hwui.texture_cache_flushrate=0.4 \
Chet Haaseb581f0f2012-08-31 14:20:10 -0700177 ro.hwui.text_small_cache_width=1024 \
178 ro.hwui.text_small_cache_height=1024 \
179 ro.hwui.text_large_cache_width=2048 \
Erik Gillinge1a91fc2012-10-18 17:12:26 -0700180 ro.hwui.text_large_cache_height=1024 \
181 ro.hwui.disable_scissor_opt=true
Dmitry Shmidte87ec972012-03-16 09:43:07 -0700182
Dima Zavinb32016c2012-03-23 14:07:12 -0700183# setup dalvik vm configs.
Jason Chend766a352012-08-01 22:35:52 -0700184$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
Dima Zavinb32016c2012-03-23 14:07:12 -0700185
Dave Burke9f5396e2012-09-13 16:27:03 -0700186# Enable AAC 5.1 output
187PRODUCT_PROPERTY_OVERRIDES += \
188 media.aac_51_output_enabled=true
189
Benoit Goby0b60f392012-07-11 17:16:29 -0700190# set default USB configuration
191PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
192 persist.sys.usb.config=mtp
193
Jeong-Seok Yangcbee0e32012-04-30 14:21:42 +0900194# for off charging mode
195PRODUCT_PACKAGES += \
Jeong-Seok Yangcbee0e32012-04-30 14:21:42 +0900196 charger_res_images
197
Jean-Baptiste Queru251ec192012-09-05 18:31:15 -0700198$(call inherit-product-if-exists, hardware/samsung_slsi/exynos5/exynos5.mk)
Dima Zavin6c0d6272012-03-23 14:04:58 -0700199$(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 Zavin6c0d6272012-03-23 14:04:58 -0700201
Ying Wangdbd93a52012-03-21 17:42:22 -0700202$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4324/device-bcm.mk)