forked from openkylin/platform_build
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:
parent
ad970e69f3
commit
9f581237e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue