-
Notifications
You must be signed in to change notification settings - Fork 7
/
device.mk
110 lines (90 loc) · 5.09 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(call inherit-product-if-exists, vendor/acer/a510/a510-vendor.mk)
PRODUCT_AAPT_CONFIG := normal large xlarge hdpi
PRODUCT_AAPT_PREF_CONFIG := xlarge hdpi
DEVICE_PACKAGE_OVERLAYS += device/acer/a510/overlay
PRODUCT_PROPERTY_OVERRIDES := \
ro.opengles.version=131072 \
persist.tegra.nvmmlite=1 \
nvidia.hwc.mirror_mode=crop \
tf.enable=y \
wifi.interface=wlan0 \
ro.carrier=wifi-only \
ro.zygote.disable_gl_preload=true \
# Set default USB interface
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
# Don't store dalvik on /cache, it gets annoying when /cache is wiped
# by the bootloader everytime we boot into recovery
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dexopt-data-only=1
# The "7 inch" profile is more suited for us than the general profile
include frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# device/acer/a510/prebuilt/ramdisk/fstab.picasso_m:root/fstab.picasso_m \
# device/acer/a510/prebuilt/ramdisk/ueventd.picasso_m.rc:root/ueventd.picasso_m.rc \
#
PRODUCT_COPY_FILES += \
device/acer/a510/prebuilt/ramdisk/init.picasso_m.rc:root/init.picasso_m.rc \
device/acer/t30-common/prebuilt/ramdisk/fstab.acer:root/fstab.acer \
device/acer/t30-common/prebuilt/ramdisk/fstab.acer:root/fstab.picasso_m \
device/acer/a510/prebuilt/ramdisk/ueventd.picasso_m.rc:root/ueventd.picasso_m.rc \
device/acer/a510/prebuilt/ramdisk/init.picasso_m.usb.rc:root/init.picasso_m.usb.rc \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
# device/acer/a510/prebuilt/etc/vold.fstab:system/etc/vold.fstab
PRODUCT_COPY_FILES += \
device/acer/a510/prebuilt/etc/gps/gpsconfig.xml:system/etc/gps/gpsconfig.xml \
device/acer/t30-common/prebuilt/etc/ppp/ip-up:system/etc/ppp/ip-up \
device/acer/t30-common/prebuilt/etc/ppp/ip-down:system/etc/ppp/ip-down \
device/acer/a510/prebuilt/usr/idc/acer-touch.idc:system/usr/idc/acer-touch.idc \
device/acer/a510/prebuilt/usr/keylayout/Acer-AK00LB.kl:system/usr/keylayout/Acer-AK00LB.kl \
device/acer/a510/prebuilt/usr/keylayout/Acer-ICONIA-TAB-KB01.kl:system/usr/keylayout/Acer-ICONIA-TAB-KB01.kl \
device/acer/a510/prebuilt/usr/keylayout/acer-dock.kl:system/usr/keylayout/acer-dock.kl \
device/acer/a510/prebuilt/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
PRODUCT_PACKAGES := \
audio.primary.tegra \
libaudioutils \
audio.a2dp.default \
audio.usb.default \
a1026_init \
librs_jni \
make_ext4fs \
setup_fs \
l2ping \
hcitool \
bttest \
com.android.future.usb.accessory
PRODUCT_CHARACTERISTICS := tablet
# Device-specific packages
#PRODUCT_PACKAGES += \
# DeviceParts
#
# Audio config
PRODUCT_COPY_FILES += \
device/acer/a510/tiny_hw.xml:system/etc/sound/picasso_m \
device/acer/a510/prebuilt/etc/audio_policy.conf:system/etc/audio_policy.conf
# media config xml file
PRODUCT_COPY_FILES += \
device/acer/a510/prebuilt/etc/media_profiles.xml:system/etc/media_profiles.xml \
device/acer/a510/prebuilt/etc/media_codecs.xml:system/etc/media_codecs.xml
# Bluetooth config file
#PRODUCT_COPY_FILES += \
# system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf \
WIFI_BAND := 802_11_BG
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)