Android.mk: conditional compilation of odm_sepolicy.cil

am: 1b2ea497aa

Change-Id: I6410593a4f7616958ca8b6cc1ca37401bfc693a6
This commit is contained in:
Nick Kralevich 2018-09-25 13:04:44 -07:00 committed by android-build-merger
commit 7913fb01e8

View file

@ -581,6 +581,7 @@ vendor_policy.conf :=
#################################
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 @@ $(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/build_sepolicy \
built_odm_cil := $(LOCAL_BUILT_MODULE)
odm_policy.conf :=
odm_policy_raw :=
endif
#################################
include $(CLEAR_VARS)