-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
50 lines (38 loc) · 1.09 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
LOCAL_PATH := device/tecno/KG5n
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
# DYNAMIC PARTITIONS
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 30
# API
PRODUCT_SHIPPING_API_LEVEL := 30
PRODUCT_PLATFORM := ums9230
# VIRTUAL A/B
ENABLE_VIRTUAL_AB := true
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
# PACKAGES
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl \
android.hardware.health@2.1-service \
libhealthd.$(PRODUCT_PLATFORM)
PRODUCT_PACKAGES += \
android.hardware.boot@1.1-impl \
android.hardware.boot@1.1-impl.recovery \
android.hardware.boot@1.1-service
PRODUCT_PACKAGES += \
otapreopt_script \
cppreopts.sh \
update_engine \
update_verifier \
update_engine_sideload
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.0-impl-mock \
fastbootd
PRODUCT_PACKAGES_DEBUG += \
bootctrl
# Hidl Service
PRODUCT_ENFORCE_VINTF_MANIFEST := true