-
Notifications
You must be signed in to change notification settings - Fork 0
/
device_blaze.mk~
79 lines (63 loc) · 2.97 KB
/
device_blaze.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
$(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/amazon/blaze/blaze-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/amazon/blaze/overlay
PRODUCT_COPY_FILES += \
device/amazon/blaze/root/init.rc:root/init.rc \
device/amazon/blaze/root/init.omap4430.rc:root/init.omap4430.rc \
device/amazon/blaze/root/ueventd.omap4430.rc:root/ueventd.omap4430.rc \
device/amazon/blaze/root/ueventd.rc:root/ueventd.rc \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/misc/vold.fstab:system/etc/vold.fstab
PRODUCT_LOCALES += mdpi
# Place permission files
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \
frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_PACKAGES += \
librs_jni \
tiwlan.ini \
dspexec \
libbridge \
wlan_cu \
libtiOsLib \
wlan_loader \
libCustomWifi \
alsa.omap4 \
wpa_supplicant.conf \
dhcpcd.conf \
libLCML \
libVendor_ti_omx \
Usb
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/amazon/blaze/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
# Set property overrides
PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true \
ro.com.android.dateformat=MM-dd-yyyy \
ro.com.android.dataroaming=true \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \
ro.config.notification_sound=ro.config.alarm_alert=Alarm_Classic.ogg \
net.bt.name=Android \
dalvik.vm.stack-trace-file=/data/anr/traces.txt \
$(call inherit-product, build/target/product/full_base.mk)
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := full_blaze
PRODUCT_DEVICE := blaze