-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdevice.mk
55 lines (44 loc) · 2.02 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Copyright (C) 2022 Team Win Recovery Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Crypto
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Debug
PRODUCT_PACKAGES += \
crash_dump \
libprocinfo.recovery
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/markw/system/apex/com.android.runtime/bin/crash_dump32:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/crash_dump32 \
$(OUT_DIR)/target/product/markw/system/apex/com.android.runtime/bin/crash_dump64:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/crash_dump64
# Dynamic Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true
# Gatekeeper
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/markw/vendor/bin/hw/android.hardware.gatekeeper@1.0-service:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/android.hardware.gatekeeper@1.0-service \
$(OUT_DIR)/target/product/markw/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/hw/android.hardware.gatekeeper@1.0-impl.so
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl \
android.hardware.keymaster@3.0-service
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/markw/system/lib64/libkeymaster3device.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libkeymaster3device.so \
$(OUT_DIR)/target/product/markw/vendor/bin/hw/android.hardware.keymaster@3.0-service:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/android.hardware.keymaster@3.0-service \
$(OUT_DIR)/target/product/markw/vendor/lib64/hw/android.hardware.keymaster@3.0-impl.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/hw/android.hardware.keymaster@3.0-impl.so
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Overrides
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE=markw \
PRODUCT_NAME=$(PRODUCT_RELEASE_NAME) \
TARGET_DEVICE=markw
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.product=markw