diff --git a/core/soong_config.mk b/core/soong_config.mk index 54ad78336..339cac093 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -140,6 +140,11 @@ $(call add_json_list, NamespacesToExport, $(PRODUCT_SOONG_NAMESPA $(call add_json_list, PgoAdditionalProfileDirs, $(PGO_ADDITIONAL_PROFILE_DIRS)) +$(call add_json_list, BoardVendorSepolicyDirs, $(BOARD_SEPOLICY_DIRS)) +$(call add_json_list, BoardOdmSepolicyDirs, $(BOARD_ODM_SEPOLICY_DIRS)) +$(call add_json_str, BoardPlatPublicSepolicyDir, $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR)) +$(call add_json_str, BoardPlatPrivateSepolicyDir, $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR)) + _contents := $(_contents) "VendorVars": {$(newline) $(foreach namespace,$(SOONG_CONFIG_NAMESPACES),\ $(eval _contents := $$(_contents) "$(namespace)": {$$(newline)) \