summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-11-14 14:15:06 -0800
committer Cole Faust <colefaust@google.com> 2024-11-14 14:15:06 -0800
commitaf198bd02f35a2a59b5762a16cc230c6a3da230c (patch)
tree9956401c658752727cd54ec3d639bdc2077692be
parent03b57b0f15b314ed7bd93535d22528b18f3e236a (diff)
Export partition-specific avb information to soong
In case it's used to override the global avb information. Bug: 377563298 Test: m nothing Change-Id: I0f3b05e650b1b76d3bd8afae32870d5cc33cb4bf
-rw-r--r--core/soong_config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/soong_config.mk b/core/soong_config.mk
index ee6a9f6c32..0f82b68d6f 100644
--- a/core/soong_config.mk
+++ b/core/soong_config.mk
@@ -397,6 +397,10 @@ $(call add_json_map, PartitionVarsForSoongMigrationOnlyDoNotUse)
$(call add_json_str, BoardSquashfsCompressor, $(BOARD_$(image_type)IMAGE_SQUASHFS_COMPRESSOR)) \
$(call add_json_str, BoardSquashfsCompressorOpt, $(BOARD_$(image_type)IMAGE_SQUASHFS_COMPRESSOR_OPT)) \
$(call add_json_str, BoardSquashfsDisable4kAlign, $(BOARD_$(image_type)IMAGE_SQUASHFS_DISABLE_4K_ALIGN)) \
+ $(call add_json_str, BoardAvbKeyPath, $(BOARD_AVB_$(image_type)_KEY_PATH)) \
+ $(call add_json_str, BoardAvbAlgorithm, $(BOARD_AVB_$(image_type)_ALGORITHM)) \
+ $(call add_json_str, BoardAvbRollbackIndex, $(BOARD_AVB_$(image_type)_ROLLBACK_INDEX)) \
+ $(call add_json_str, BoardAvbRollbackIndexLocation, $(BOARD_AVB_$(image_type)_ROLLBACK_INDEX_LOCATION)) \
$(call add_json_str, ProductBaseFsPath, $(PRODUCT_$(image_type)_BASE_FS_PATH)) \
$(call add_json_str, ProductHeadroom, $(PRODUCT_$(image_type)_HEADROOM)) \
$(call add_json_str, ProductVerityPartition, $(PRODUCT_$(image_type)_VERITY_PARTITION)) \