Skip to content

Commit

Permalink
Update device.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
mominqimiang authored Mar 10, 2024
1 parent 5798f1b commit da0961d
Showing 1 changed file with 33 additions and 7 deletions.
40 changes: 33 additions & 7 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,46 @@ DEVICE_PATH := device/xiaomi/rembrandt

# API
PRODUCT_SHIPPING_API_LEVEL := 31
PRODUCT_TARGET_VNDK_VERSION := 31
PRODUCT_TARGET_VNDK_VERSION := 33

# A/B
AB_OTA_UPDATER := true
ENABLE_VIRTUAL_AB := true
TARGET_ENFORCE_AB_OTA_PARTITION_LIST := true
AB_OTA_PARTITIONS += \
apusys \
audio_dsp \
boot \
ccu \
dpm \
dtbo \
system \
product \
vendor \
gpueb \
gz \
lk \
logo \
mcf_ota \
mcupm \
md1img \
mvpu_algo \
odm \
odm_dlkm \
pi_img \
preloader_raw \
product \
scp \
spmfw \
sspm \
system \
system_ext \
tee \
vbmeta \
vbmeta_system \
vbmeta_vendor \
vcp \
vendor \
vendor_boot \
vendor_dlkm \
vbmeta_system \
vbmeta_vendor
mi_ext

PRODUCT_PACKAGES += \
update_engine \
Expand All @@ -43,7 +66,7 @@ TARGET_RECOVERY_DEVICE_MODULES += \
[email protected]

TW_RECOVERY_ADDITIONAL_RELINK_LIBRARY_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/[email protected]
$(TARGET_OUT_SHARED_LIBRARIES)/[email protected] \

# Bootctrl
PRODUCT_PACKAGES += \
Expand Down Expand Up @@ -88,5 +111,8 @@ PRODUCT_PACKAGES += \
PRODUCT_EXTRA_RECOVERY_KEYS += \
$(DEVICE_PATH)/security/miui_releasekey

# Hidl Service
PRODUCT_ENFORCE_VINTF_MANIFEST := true

# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)

0 comments on commit da0961d

Please sign in to comment.