Validate aconfig libs are built with the correct modes.
Bug: 323071835
Test: Unit tests and manual tests.
Change-Id: I508be0433e11295608be0551222ae38b761b9214
diff --git a/core/soong_config.mk b/core/soong_config.mk
index b43a952..d4c56e5 100644
--- a/core/soong_config.mk
+++ b/core/soong_config.mk
@@ -404,6 +404,8 @@
$(call add_json_bool, ExportRuntimeApis, $(filter true,$(PRODUCT_EXPORT_RUNTIME_APIS)))
+$(call add_json_str, AconfigContainerValidation, $(ACONFIG_CONTAINER_VALIDATION))
+
$(call json_end)
$(file >$(SOONG_VARIABLES).tmp,$(json_contents))