Add ro.vendor.build.dont_use_vabc to disable VABC OTA

This prop is owned by OEM, OEM can set this if they want to disable
VABC.

Test: m dist, make sure generated OTA has VABC disabled
Bug: 185400304

Change-Id: Iceb2fb1f399d38a51722352a86ddf68af05fa24e
Merged-In: Iceb2fb1f399d38a51722352a86ddf68af05fa24e
This commit is contained in:
Kelvin Zhang
2021-06-10 14:32:19 -04:00
committed by David Anderson
parent 2585969307
commit 9b55885314
3 changed files with 18 additions and 0 deletions

View File

@@ -313,6 +313,13 @@ ADDITIONAL_VENDOR_PROPERTIES += \
endif
endif
# Set build prop. This prop is read by ota_from_target_files when generating OTA,
# to decide if VABC should be disabled.
ifeq ($(BOARD_DONT_USE_VABC_OTA),true)
ADDITIONAL_VENDOR_PROPERTIES += \
ro.vendor.build.dont_use_vabc=true
endif
ADDITIONAL_VENDOR_PROPERTIES += \
ro.vendor.build.security_patch=$(VENDOR_SECURITY_PATCH) \
ro.product.board=$(TARGET_BOOTLOADER_BOARD_NAME) \