| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | DEVICE_PACKAGE_OVERLAYS := \ |
| 18 | device/moto/wingray/overlay |
| 19 | |
| 20 | PRODUCT_PROPERTY_OVERRIDES := \ |
| Dmitry Shmidt | bcdc1d6 | 2012-01-10 12:59:53 -0800 | [diff] [blame] | 21 | wifi.interface=wlan0 |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 22 | |
| Mike Lockwood | 5fd5369 | 2011-06-08 16:53:29 -0700 | [diff] [blame] | 23 | # Set default USB interface |
| Mike Lockwood | f9aa4b6 | 2011-06-09 17:27:48 -0700 | [diff] [blame] | 24 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| Mike Lockwood | 5fd5369 | 2011-06-08 16:53:29 -0700 | [diff] [blame] | 25 | persist.sys.usb.config=mtp |
| 26 | |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 27 | include frameworks/base/build/tablet-dalvik-heap.mk |
| 28 | |
| 29 | PRODUCT_COPY_FILES += \ |
| 30 | device/moto/wingray/init.stingray.rc:root/init.stingray.rc \ |
| Mike Lockwood | eab2430 | 2011-06-09 17:29:49 -0700 | [diff] [blame] | 31 | device/moto/wingray/init.stingray.usb.rc:root/init.stingray.usb.rc \ |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 32 | device/moto/wingray/ueventd.stingray.rc:root/ueventd.stingray.rc \ |
| 33 | |
| Dmitry Shmidt | b353875 | 2011-07-24 15:36:39 -0700 | [diff] [blame] | 34 | ifneq ($(TARGET_PREBUILT_WIFI_MODULE),) |
| 35 | PRODUCT_COPY_FILES += \ |
| 36 | $(TARGET_PREBUILT_WIFI_MODULE):system/lib/modules/bcm4329.ko |
| JP Abgrall | 53268af | 2011-05-26 11:52:55 -0700 | [diff] [blame] | 37 | endif |
| 38 | |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 39 | PRODUCT_COPY_FILES += \ |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 40 | 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 | |
| 46 | PRODUCT_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 Saville | 4300fb1 | 2011-02-28 21:30:51 -0800 | [diff] [blame] | 56 | 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 Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 59 | packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml |
| 60 | |
| 61 | PRODUCT_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 | |
| 69 | PRODUCT_PACKAGES := \ |
| Iliyan Malchev | f37dc2b | 2011-05-04 09:55:57 -0700 | [diff] [blame] | 70 | camera.stingray \ |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 71 | sensors.stingray \ |
| 72 | lights.stingray \ |
| Dima Zavin | bacc417 | 2011-04-05 16:02:49 -0700 | [diff] [blame] | 73 | audio.primary.stingray \ |
| 74 | audio.a2dp.default \ |
| 75 | audio_policy.stingray \ |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 76 | librs_jni \ |
| 77 | make_ext4fs \ |
| 78 | l2ping \ |
| 79 | hcitool \ |
| Wink Saville | 4300fb1 | 2011-02-28 21:30:51 -0800 | [diff] [blame] | 80 | bttest \ |
| Ying Wang | 12c34b6 | 2011-10-17 18:02:12 -0700 | [diff] [blame] | 81 | com.android.future.usb.accessory \ |
| 82 | whisperd |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 83 | |
| Mike Lockwood | a6c036f | 2011-05-09 19:08:57 -0700 | [diff] [blame] | 84 | PRODUCT_CHARACTERISTICS := tablet |
| Wink Saville | 5494205 | 2011-02-26 09:35:21 -0800 | [diff] [blame] | 85 | |
| 86 | # we have enough storage space to hold precise GC data |
| 87 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 88 | |
| 89 | # media config xml file |
| 90 | PRODUCT_COPY_FILES += \ |
| 91 | device/moto/wingray/media_profiles.xml:system/etc/media_profiles.xml |
| Jean-Baptiste Queru | b190a0b | 2011-04-26 11:34:56 -0700 | [diff] [blame] | 92 | |
| Andreas Huber | ceb320b | 2012-02-29 16:42:13 -0800 | [diff] [blame] | 93 | # media codec config xml file |
| 94 | PRODUCT_COPY_FILES += \ |
| Andreas Huber | f71ba00 | 2012-03-01 12:55:01 -0800 | [diff] [blame^] | 95 | device/moto/wingray/media_codecs.xml:system/etc/media_codecs.xml |
| Andreas Huber | ceb320b | 2012-02-29 16:42:13 -0800 | [diff] [blame] | 96 | |
| Jaikumar Ganesh | eb9cdcd | 2011-05-26 11:12:38 -0700 | [diff] [blame] | 97 | # Bluetooth config file |
| 98 | PRODUCT_COPY_FILES += \ |
| 99 | system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf \ |
| 100 | |
| Justin Ho | 2e1da8e | 2012-01-09 07:51:28 -0800 | [diff] [blame] | 101 | # for bugreport, with screen capture, and send mail intent |
| 102 | PRODUCT_PACKAGES += send_bug |
| 103 | PRODUCT_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 Queru | b190a0b | 2011-04-26 11:34:56 -0700 | [diff] [blame] | 107 | # inherit from the non-open-source side, if present |
| Jean-Baptiste Queru | 9f0e61c | 2011-11-10 13:46:35 -0800 | [diff] [blame] | 108 | ifneq ($(filter trygon trygon_l10n calgon full_stingray tyranid stingray,$(TARGET_PRODUCT)),) |
| Jean-Baptiste Queru | b190a0b | 2011-04-26 11:34:56 -0700 | [diff] [blame] | 109 | $(call inherit-product-if-exists, vendor/moto/stingray/stingray-vendor.mk) |
| Jean-Baptiste Queru | 52c980a | 2011-11-09 09:34:39 -0800 | [diff] [blame] | 110 | else |
| 111 | $(call inherit-product-if-exists, vendor/moto/stingray/wingray-vendor.mk) |
| 112 | endif |
| Jean-Baptiste Queru | b190a0b | 2011-04-26 11:34:56 -0700 | [diff] [blame] | 113 | |
| Dmitry Shmidt | b353875 | 2011-07-24 15:36:39 -0700 | [diff] [blame] | 114 | WIFI_BAND := 802_11_ABG |
| 115 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk) |