Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [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 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 18 | LOCAL_KERNEL := device/asus/grouper/kernel |
| 19 | else |
| 20 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 21 | endif |
| 22 | |
| 23 | PRODUCT_AAPT_CONFIG := normal large tvdpi hdpi |
| 24 | PRODUCT_AAPT_PREF_CONFIG := tvdpi |
| 25 | |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 26 | |
| 27 | PRODUCT_PROPERTY_OVERRIDES := \ |
| 28 | wifi.interface=wlan0 \ |
| 29 | wifi.supplicant_scan_interval=15 \ |
| 30 | tf.enable=y \ |
Ramanan Rajeswaran | db75eea | 2012-08-20 19:43:23 -0700 | [diff] [blame] | 31 | drm.service.enabled=true |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 32 | |
| 33 | # Set default USB interface |
| 34 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Ramanan Rajeswaran | cd738cd | 2012-08-22 08:37:32 -0700 | [diff] [blame] | 35 | persist.sys.usb.config=mtp |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 36 | |
| 37 | include frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk |
| 38 | |
| 39 | PRODUCT_COPY_FILES += \ |
| 40 | $(LOCAL_KERNEL):kernel \ |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 41 | device/asus/grouper/ueventd.grouper.rc:root/ueventd.grouper.rc \ |
| 42 | device/asus/grouper/init.grouper.usb.rc:root/init.grouper.usb.rc \ |
| 43 | device/asus/grouper/gps.conf:system/etc/gps.conf |
| 44 | |
| 45 | ifneq ($(TARGET_PREBUILT_WIFI_MODULE),) |
| 46 | PRODUCT_COPY_FILES += \ |
| 47 | $(TARGET_PREBUILT_WIFI_MODULE):system/lib/modules/bcm4329.ko |
| 48 | endif |
| 49 | |
| 50 | PRODUCT_COPY_FILES += \ |
| 51 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ |
| 52 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 53 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 54 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 55 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 56 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 57 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 58 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 59 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 60 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 61 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml |
| 62 | |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 63 | |
| 64 | PRODUCT_COPY_FILES += \ |
| 65 | device/asus/grouper/vold.fstab:system/etc/vold.fstab \ |
| 66 | device/asus/grouper/elan-touchscreen.idc:system/usr/idc/elan-touchscreen.idc \ |
| 67 | device/asus/grouper/raydium_ts.idc:system/usr/idc/raydium_ts.idc \ |
| 68 | device/asus/grouper/sensor00fn11.idc:system/usr/idc/sensor00fn11.idc \ |
paris_yeh | 814017c | 2012-08-23 16:23:07 +0800 | [diff] [blame] | 69 | device/asus/grouper/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 70 | |
| 71 | PRODUCT_PACKAGES := \ |
| 72 | lights.grouper \ |
| 73 | audio.primary.grouper \ |
| 74 | power.grouper \ |
| 75 | audio.a2dp.default \ |
| 76 | audio.usb.default \ |
| 77 | librs_jni \ |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 78 | setup_fs \ |
| 79 | l2ping \ |
| 80 | hcitool \ |
| 81 | bttest \ |
Jean-Baptiste Queru | 5a8552a | 2012-09-17 08:34:22 -0700 | [diff] [blame] | 82 | com.android.future.usb.accessory |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 83 | |
Jean-Baptiste Queru | cad8844 | 2013-02-13 11:20:54 -0800 | [diff] [blame] | 84 | PRODUCT_PACKAGES += \ |
| 85 | keystore.grouper |
| 86 | |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 87 | # NFC packages |
| 88 | PRODUCT_PACKAGES += \ |
| 89 | nfc.grouper \ |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 90 | Nfc \ |
| 91 | Tag \ |
| 92 | com.android.nfc_extras |
| 93 | |
| 94 | PRODUCT_CHARACTERISTICS := tablet,nosdcard |
| 95 | |
| 96 | # we have enough storage space to hold precise GC data |
| 97 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 98 | |
| 99 | # media config xml file |
| 100 | PRODUCT_COPY_FILES += \ |
| 101 | device/asus/grouper/media_profiles.xml:system/etc/media_profiles.xml |
| 102 | |
| 103 | # media codec config xml file |
| 104 | PRODUCT_COPY_FILES += \ |
| 105 | device/asus/grouper/media_codecs.xml:system/etc/media_codecs.xml |
| 106 | |
| 107 | # Bluetooth config file |
| 108 | PRODUCT_COPY_FILES += \ |
| 109 | system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf \ |
| 110 | |
| 111 | # audio mixer paths |
| 112 | PRODUCT_COPY_FILES += \ |
| 113 | device/asus/grouper/mixer_paths.xml:system/etc/mixer_paths.xml |
| 114 | |
| 115 | # audio policy configuration |
| 116 | PRODUCT_COPY_FILES += \ |
| 117 | device/asus/grouper/audio_policy.conf:system/etc/audio_policy.conf |
| 118 | |
| 119 | PRODUCT_COPY_FILES += \ |
| 120 | frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \ |
| 121 | frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ |
| 122 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml |
| 123 | |
| 124 | # NFCEE access control |
| 125 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 126 | NFCEE_ACCESS_PATH := device/asus/grouper/nfcee_access.xml |
| 127 | else |
| 128 | NFCEE_ACCESS_PATH := device/asus/grouper/nfcee_access_debug.xml |
| 129 | endif |
| 130 | PRODUCT_COPY_FILES += \ |
| 131 | $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml |
| 132 | |
| 133 | WIFI_BAND := 802_11_BG |
| 134 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk) |