-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
70 lines (57 loc) · 1.69 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Copyright (C) 2024 The Android Open Source Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Virtual A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
ENABLE_VIRTUAL_AB := true
PRODUCT_SHIPPING_API_LEVEL := 30
LOCAL_PATH := device/chinatelecom/ARES
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
# Boot control HAL
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl \
android.hardware.boot@1.0-service \
android.hardware.boot@1.0-impl-wrapper.recovery \
android.hardware.boot@1.0-impl-wrapper \
android.hardware.boot@1.0-impl.recovery
PRODUCT_PACKAGES += \
bootctrl.ums9620.recovery \
bootctrl.ums9620
PRODUCT_PACKAGES += \
otapreopt_script \
cppreopts.sh \
update_engine \
update_verifier \
update_engine_sideload
# Fastbootd
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.0-impl-mock \
android.hardware.fastboot@1.0-impl-mock.recovery \
fastbootd
# Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl \
android.hardware.health@2.1-service
# Keystore
PRODUCT_PACKAGES += \
android.system.keystore2
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1
# Keymint
PRODUCT_PACKAGES += \
android.hardware.security.keymint \
android.hardware.security.secureclock \
android.hardware.security.sharedsecret
# Additional target Libraries
TARGET_RECOVERY_DEVICE_MODULES += \
android.hardware.keymaster@4.1
TW_RECOVERY_ADDITIONAL_RELINK_LIBRARY_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/android.hardware.keymaster@4.1.so