Android.mk: conditional compilation of odm_sepolicy.cil am: 1b2ea497aa
am: 7913fb01e8
Change-Id: I06d55496bd49dbbe3f948215026c2323d874cfc7
diff --git a/Android.mk b/Android.mk
index 0a4ebbf..20a5a27 100644
--- a/Android.mk
+++ b/Android.mk
@@ -581,6 +581,7 @@
#################################
include $(CLEAR_VARS)
+ifdef BOARD_ODM_SEPOLICY_DIRS
# odm_policy.cil - the odm sepolicy. This needs attributization and to be combined
# with the platform-provided policy. It makes use of the reqd_policy_mask files from private
# policy and the platform public policy files in order to use checkpolicy.
@@ -626,6 +627,7 @@
built_odm_cil := $(LOCAL_BUILT_MODULE)
odm_policy.conf :=
odm_policy_raw :=
+endif
#################################
include $(CLEAR_VARS)