Make ab_ota_partitions read only

Now that we have moved the AB_OTA_BOOTLOADER_PARTITIONS &
AB_OTA_RADIO_PARTITIONS to BoardConfig, we can make the
ab_ota_partitions read only.

Eventually, the variable will be exposed as a product build
property. And we want its value to stay unchanged during the
build process.

Bug: 162148770
Test: build coral
Merged-In: I37ab41cf2ed7bc9cb6db6b4700c03ab48ed31fff
Change-Id: Ied45347c3e56e56d1372d51b98d7e52b02ff4755
(cherry-picked from commit 6e93f484ac)
This commit is contained in:
Tianjie
2020-08-18 11:58:58 -07:00
committed by Anton Hansson
parent 2a9b7d7f9e
commit 929f1ad1d6

View File

@@ -53,6 +53,7 @@ _board_strip_readonly_list := \
TARGET_NO_RADIOIMAGE \
TARGET_HARDWARE_3D \
WITH_DEXPREOPT \
AB_OTA_PARTITIONS \
# File system variables
_board_strip_readonly_list += \