Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d744f8cc authored by Tri Vo's avatar Tri Vo Committed by Gerrit Code Review
Browse files

Merge "Expose selinux variables to Soong."

parents 44f320c2 82d1c887
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)) \