aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-04-05 16:19:57 -0400
committerSteve Kondik <steve@cyngn.com>2015-10-16 19:37:40 -0700
commit67a7e4378feaa3457f3c36db7dc3e365781de698 (patch)
tree02a3cee48d9e3f5ea346ba186de933c3dc49cd7a /Android.mk
parent442c3ebd4c05bed217e756586ac9fcb4c6283d40 (diff)
downloadandroid_external_sepolicy-67a7e4378feaa3457f3c36db7dc3e365781de698.tar.gz
android_external_sepolicy-67a7e4378feaa3457f3c36db7dc3e365781de698.tar.bz2
android_external_sepolicy-67a7e4378feaa3457f3c36db7dc3e365781de698.zip
sepolicy: Deduplicate the final policy union
* In our current setup, if the product makefiles attempt to be tricky and re-read the BoardConfig (in order to get the SoC type), we end up with duplicates in this list. This causes the build to fail. Let's just tolerate it until a better solution is created to the board vs. product setup problem. Change-Id: Ia6d16da4424b3e354cae3f78c3ee8a9ef565046c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 88741f7..6873d07 100644
--- a/Android.mk
+++ b/Android.mk
@@ -39,7 +39,7 @@ build_policy = $(call uniq,$(foreach type, $(1), \
) \
) \
))
-build_policy = $(foreach type, $(1), $(wildcard $(addsuffix /$(type), $(LOCAL_PATH) $(BOARD_SEPOLICY_DIRS))))
+build_policy = $(call uniq, $(foreach type, $(1), $(wildcard $(addsuffix /$(type), $(LOCAL_PATH) $(BOARD_SEPOLICY_DIRS)))))
sepolicy_build_files := security_classes \
initial_sids \