From 35f63019c9c88c5eab8f529977433b647036083a Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Tue, 23 Mar 2021 20:47:39 +0900 Subject: [PATCH] Fix SepolicySplit soong variable It should be "filtered" by "true" because all non-empty values become true when using add_json_bool. Test: m selinux_policy on sc-arc Change-Id: I35d5881d83746230793cf8ced76885607e82334a --- core/soong_config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/soong_config.mk b/core/soong_config.mk index 597ea78ab1..c62086fcbf 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -260,7 +260,7 @@ $(call add_json_bool, RequiresInsecureExecmemForSwiftshader, $(PRODUCT_REQUIRES_ $(call add_json_bool, SelinuxIgnoreNeverallows, $(SELINUX_IGNORE_NEVERALLOWS)) -$(call add_json_bool, SepolicySplit, $(PRODUCT_SEPOLICY_SPLIT)) +$(call add_json_bool, SepolicySplit, $(filter true,$(PRODUCT_SEPOLICY_SPLIT))) $(call json_end)