Skip to content
Snippets Groups Projects
Commit 7913fb01 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Android.mk: conditional compilation of odm_sepolicy.cil

am: 1b2ea497

Change-Id: I6410593a4f7616958ca8b6cc1ca37401bfc693a6
parents e4b212ad 1b2ea497
No related branches found
No related tags found
No related merge requests found
...@@ -581,6 +581,7 @@ vendor_policy.conf := ...@@ -581,6 +581,7 @@ vendor_policy.conf :=
################################# #################################
include $(CLEAR_VARS) include $(CLEAR_VARS)
ifdef BOARD_ODM_SEPOLICY_DIRS
# odm_policy.cil - the odm sepolicy. This needs attributization and to be combined # 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 # 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. # policy and the platform public policy files in order to use checkpolicy.
...@@ -626,6 +627,7 @@ $(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/build_sepolicy \ ...@@ -626,6 +627,7 @@ $(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/build_sepolicy \
built_odm_cil := $(LOCAL_BUILT_MODULE) built_odm_cil := $(LOCAL_BUILT_MODULE)
odm_policy.conf := odm_policy.conf :=
odm_policy_raw := odm_policy_raw :=
endif
################################# #################################
include $(CLEAR_VARS) include $(CLEAR_VARS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment