-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
42 lines (35 loc) · 1.47 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
# define hardware platform
PRODUCT_PLATFORM := atoll
# Apex libraries
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/RMX2170/obj/SHARED_LIBRARIES/libandroidicu_intermediates/libandroidicu.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libandroidicu.so \
$(OUT_DIR)/target/product/RMX2170/obj/SHARED_LIBRARIES/libandroidicu_intermediates/libandroidicu.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libicui18n.so \
$(OUT_DIR)/target/product/RMX2170/obj/SHARED_LIBRARIES/libandroidicu_intermediates/libandroidicu.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libcuuc.so
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# fastbootd
PRODUCT_PACKAGES += \
fastbootd
# qcom decryption
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Take a few libraries from sources
TARGET_RECOVERY_DEVICE_MODULES += \
ashmemd \
ashmemd_aidl_interface-cpp \
libashmemd_client \
libicui18n \
libion \
libxml2
TW_RECOVERY_ADDITIONAL_RELINK_BINARY_FILES += \
$(TARGET_OUT_EXECUTABLES)/ashmemd
TW_RECOVERY_ADDITIONAL_RELINK_LIBRARY_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SHARED_LIBRARIES)/ashmemd_aidl_interface-cpp.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libashmemd_client.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libicui18n.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libxml2.so