forked from bekriebel/android_device_malata_smb-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmb-common.mk
62 lines (51 loc) · 2.64 KB
/
smb-common.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
$(call inherit-product, build/target/product/full_base.mk)
# Get a proper init file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init_recovery.rc:root/init_recovery.rc \
$(LOCAL_PATH)/init.nvidia.rc:root/init.nvidia.rc
# Place wifi files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/wpa_supplicant.conf:/system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/wifi/dhcpcd.conf:/system/etc/dhcpcd/dhcpcd.conf
# Place bin files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bin/TSCalibration:system/bin/TSCalibration
# 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.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.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.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
DEVICE_PACKAGE_OVERLAYS += device/malata/smb-common/overlay
# Include packages
PRODUCT_PACKAGES += \
librs_jni \
gralloc.default \
gralloc.tegra \
overlay.tegra \
lights.tegra \
sensors.tegra \
audiofix.malata-smb \
screencap
# Use MDPI artwork
PRODUCT_LOCALES += mdpi
# VOLD
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/etc/vold.harmony.fstab:system/etc/vold.fstab
# Media Profile
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/etc/media_profiles.xml:system/etc/media_profiles.xml
# Set property overrides
PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.locationfeatures=1 \
ro.com.google.networklocation=1 \
ro.setupwizard.enable_bypass=1 \
keyguard.no_require_sim=1
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0