forked from GTCxprice/device_xiaomi-chiron-twrp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
37 lines (29 loc) · 1.31 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
# Inherit from common AOSP config
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Blacklist
PRODUCT_SYSTEM_PROPERTY_BLACKLIST += \
ro.bootimage.build.date.utc \
ro.build.date.utc
# keystore2
PRODUCT_PACKAGES += \
android.system.keystore2
# keymaster
PRODUCT_PACKAGES += \
[email protected]_recovery
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/$(PRODUCT_RELEASE_NAME)/system/lib64/libkeymaster3device.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libkeymaster3device.so \
$(OUT_DIR)/target/product/$(PRODUCT_RELEASE_NAME)/vendor/lib64/hw/[email protected]:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/lib64/hw/[email protected]
# Gatekeeper
PRODUCT_PACKAGES += \
[email protected]_recovery
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/$(PRODUCT_RELEASE_NAME)/vendor/lib64/hw/[email protected]:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/lib64/hw/[email protected]