-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon64.mk
43 lines (33 loc) · 1.92 KB
/
common64.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
$(call inherit-product, device/xiaomi/cmi/base.mk)
$(call inherit-product, device/xiaomi/cmi/kona.mk)
$(call inherit-product, device/xiaomi/cmi/minimal_config.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
PRODUCT_BRAND := xiaomi
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
persist.backup.ntpServer=0.pool.ntp.org \
sys.vendor.shutdown.waittime=500
# Fstab
PRODUCT_COPY_FILES += \
device/xiaomi/cmi/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom
# whitelisted app
PRODUCT_COPY_FILES += \
device/xiaomi/cmi/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
PRODUCT_COPY_FILES += \
device/xiaomi/cmi/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
#copy telephony app's permissions
PRODUCT_COPY_FILES += device/xiaomi/cmi/telephony/permissions/telephony_product_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/telephony_product_privapp-permissions-qti.xml
PRODUCT_COPY_FILES += device/xiaomi/cmi/telephony/permissions/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
# Permission for Wi-Fi passpoint support
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml
# $(call inherit-product, frameworks/native/build/phone-xhdpi-8192-dalvik-heap.mk)
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=24m \
dalvik.vm.heapgrowthlimit=256m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.46 \
dalvik.vm.heapminfree=8m \
dalvik.vm.heapmaxfree=48m