blob: 5a97f1aef62cf35cd3707565afb4c3e88945cc25 [file] [log] [blame]
Wink Saville54942052011-02-26 09:35:21 -08001#
2# Copyright (C) 2010 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
17DEVICE_PACKAGE_OVERLAYS := \
18 device/moto/wingray/overlay
19
20PRODUCT_PROPERTY_OVERRIDES := \
Dmitry Shmidtbcdc1d62012-01-10 12:59:53 -080021 wifi.interface=wlan0
Wink Saville54942052011-02-26 09:35:21 -080022
Mike Lockwood5fd53692011-06-08 16:53:29 -070023# Set default USB interface
Mike Lockwoodf9aa4b62011-06-09 17:27:48 -070024PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
Mike Lockwood5fd53692011-06-08 16:53:29 -070025 persist.sys.usb.config=mtp
26
Wink Saville54942052011-02-26 09:35:21 -080027include frameworks/base/build/tablet-dalvik-heap.mk
28
29PRODUCT_COPY_FILES += \
30 device/moto/wingray/init.stingray.rc:root/init.stingray.rc \
Mike Lockwoodeab24302011-06-09 17:29:49 -070031 device/moto/wingray/init.stingray.usb.rc:root/init.stingray.usb.rc \
Wink Saville54942052011-02-26 09:35:21 -080032 device/moto/wingray/ueventd.stingray.rc:root/ueventd.stingray.rc \
33
Dmitry Shmidtb3538752011-07-24 15:36:39 -070034ifneq ($(TARGET_PREBUILT_WIFI_MODULE),)
35PRODUCT_COPY_FILES += \
36 $(TARGET_PREBUILT_WIFI_MODULE):system/lib/modules/bcm4329.ko
JP Abgrall53268af2011-05-26 11:52:55 -070037endif
38
Wink Saville54942052011-02-26 09:35:21 -080039PRODUCT_COPY_FILES += \
Wink Saville54942052011-02-26 09:35:21 -080040 device/moto/wingray/mXT1386_08_AA.bin:system/etc/firmware/mXT1386_08_AA.bin \
41 device/moto/wingray/mXT1386_08_E1.bin:system/etc/firmware/mXT1386_08_E1.bin \
42 device/moto/wingray/mXT1386_09_AA.bin:system/etc/firmware/mXT1386_09_AA.bin \
43 device/moto/wingray/mXT1386_10_AA.bin:system/etc/firmware/mXT1386_10_AA.bin \
44 device/moto/wingray/mXT1386_10_FF.bin:system/etc/firmware/mXT1386_10_FF.bin
45
46PRODUCT_COPY_FILES += \
47 frameworks/base/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
48 frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
49 frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
50 frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
51 frameworks/base/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
52 frameworks/base/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
53 frameworks/base/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
54 frameworks/base/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
55 frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
Wink Saville4300fb12011-02-28 21:30:51 -080056 frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
57 frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
58 frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
Wink Saville54942052011-02-26 09:35:21 -080059 packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
60
61PRODUCT_COPY_FILES += \
62 device/moto/wingray/vold.fstab:system/etc/vold.fstab \
63 device/moto/wingray/qtouch-touchscreen.idc:system/usr/idc/qtouch-touchscreen.idc \
64 device/moto/wingray/cpcap-key.kl:system/usr/keylayout/cpcap-key.kl \
65 device/moto/wingray/cpcap-key.kcm:system/usr/keychars/cpcap-key.kcm \
66 device/moto/wingray/stingray-keypad.kl:system/usr/keylayout/stingray-keypad.kl \
67 device/moto/wingray/stingray-keypad.kcm:system/usr/keychars/stingray-keypad.kcm
68
69PRODUCT_PACKAGES := \
Iliyan Malchevf37dc2b2011-05-04 09:55:57 -070070 camera.stingray \
Wink Saville54942052011-02-26 09:35:21 -080071 sensors.stingray \
72 lights.stingray \
Dima Zavinbacc4172011-04-05 16:02:49 -070073 audio.primary.stingray \
74 audio.a2dp.default \
75 audio_policy.stingray \
Wink Saville54942052011-02-26 09:35:21 -080076 librs_jni \
77 make_ext4fs \
78 l2ping \
79 hcitool \
Wink Saville4300fb12011-02-28 21:30:51 -080080 bttest \
Ying Wang12c34b62011-10-17 18:02:12 -070081 com.android.future.usb.accessory \
82 whisperd
Wink Saville54942052011-02-26 09:35:21 -080083
Mike Lockwooda6c036f2011-05-09 19:08:57 -070084PRODUCT_CHARACTERISTICS := tablet
Wink Saville54942052011-02-26 09:35:21 -080085
86# we have enough storage space to hold precise GC data
87PRODUCT_TAGS += dalvik.gc.type-precise
88
89# media config xml file
90PRODUCT_COPY_FILES += \
91 device/moto/wingray/media_profiles.xml:system/etc/media_profiles.xml
Jean-Baptiste Querub190a0b2011-04-26 11:34:56 -070092
Andreas Huberceb320b2012-02-29 16:42:13 -080093# media codec config xml file
94PRODUCT_COPY_FILES += \
Andreas Huberf71ba002012-03-01 12:55:01 -080095 device/moto/wingray/media_codecs.xml:system/etc/media_codecs.xml
Andreas Huberceb320b2012-02-29 16:42:13 -080096
Jaikumar Ganesheb9cdcd2011-05-26 11:12:38 -070097# Bluetooth config file
98PRODUCT_COPY_FILES += \
99 system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf \
100
Justin Ho2e1da8e2012-01-09 07:51:28 -0800101# for bugreport, with screen capture, and send mail intent
102PRODUCT_PACKAGES += send_bug
103PRODUCT_COPY_FILES += \
104 system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
105 system/extras/bugmailer/send_bug:system/bin/send_bug
106
Jean-Baptiste Querub190a0b2011-04-26 11:34:56 -0700107# inherit from the non-open-source side, if present
Jean-Baptiste Queru9f0e61c2011-11-10 13:46:35 -0800108ifneq ($(filter trygon trygon_l10n calgon full_stingray tyranid stingray,$(TARGET_PRODUCT)),)
Jean-Baptiste Querub190a0b2011-04-26 11:34:56 -0700109$(call inherit-product-if-exists, vendor/moto/stingray/stingray-vendor.mk)
Jean-Baptiste Queru52c980a2011-11-09 09:34:39 -0800110else
111$(call inherit-product-if-exists, vendor/moto/stingray/wingray-vendor.mk)
112endif
Jean-Baptiste Querub190a0b2011-04-26 11:34:56 -0700113
Dmitry Shmidtb3538752011-07-24 15:36:39 -0700114WIFI_BAND := 802_11_ABG
115$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk)