-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwrp_lito.mk
62 lines (49 loc) · 1.37 KB
/
twrp_lito.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
# SPDX-License-Identifier: Apache-2.0
# Copyright 2019 The Android Open Source Project
PRODUCT_PLATFORM := lito
# Inherit from common AOSP config
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
# Inherit from our custom product configuration
$(call inherit-product, vendor/twrp/config/common.mk)
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := lito
PRODUCT_NAME := twrp_lito
PRODUCT_BRAND := qti
PRODUCT_MODEL := lito for arm64
PRODUCT_MANUFACTURER := QUALCOMM
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 30
# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
dtbo \
odm \
product \
system \
system_ext \
vbmeta \
vbmeta_system \
vendor
# API
PRODUCT_SHIPPING_API_LEVEL := 30
# Boot control HAL
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl.recovery \
bootctrl.$(PRODUCT_PLATFORM).recovery
# Decryption HAL
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# fastbootd
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.0-impl-mock \
fastbootd
# Apex libraries
PRODUCT_COPY_FILES += \
$(OUT_DIR)/target/product/lito/obj/SHARED_LIBRARIES/libandroidicu_intermediates/libandroidicu.so:$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64/libandroidicu.so
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)