forked from Hashcode/android_device_amazon_apollo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
executable file
·37 lines (29 loc) · 1.29 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
DEVICE_FOLDER := device/amazon/apollo
# Set dirty regions off
ADDITIONAL_BUILD_PROPERTIES += \
hwui.render_dirty_regions=false
# Disable ext sdcard
PRODUCT_CHARACTERISTICS := \
tablet,nosdcard
# Inherit from hdx
$(call inherit-product, device/amazon/hdx-common/hdx-common.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/amazon/apollo/apollo-vendor.mk)
# Adreno libs
$(call inherit-product-if-exists, vendor/amazon/adreno-330/adreno-330-vendor.mk)
# Device overlay
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_FOLDER)/overlay
ADDITIONAL_BUILD_PROPERTIES += \
ro.qcom.ad=2 \
ro.usb.pid=000d \
ro.sf.hwrotation=90
# Rear camera permission
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml
# configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
$(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
$(LOCAL_PATH)/configs/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf