Add ro.product.ab_ota_partitions as a build prop

The prop list the name of the a/b partitions that are supposed to
update via an OTA. The list varies by product, and update engine
needs to know these partitions to install the GKI update correctly.

Test: build and check the property
Change-Id: I5258955a5c3303bdc61b97fc92f5dfa1905f7c37
This commit is contained in:
Tianjie 2020-07-27 18:22:45 -07:00
parent ad970e69f3
commit 9f581237e3
1 changed files with 4 additions and 0 deletions

View File

@ -320,6 +320,10 @@ endif
ADDITIONAL_PRODUCT_PROPERTIES += ro.build.characteristics=$(TARGET_AAPT_CHARACTERISTICS)
ifeq ($(AB_OTA_UPDATER),true)
ADDITIONAL_PRODUCT_PROPERTIES += ro.product.ab_ota_partitions=$(subst $(space),$(comma),$(AB_OTA_PARTITIONS))
endif
# -----------------------------------------------------------------
###
### In this section we set up the things that are different