]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/system-sepolicy.git/blob - definitions.mk
Remove some priv_app logspam.
[android/system-sepolicy.git] / definitions.mk
1 # Command to turn collection of policy files into a policy.conf file to be
2 # processed by checkpolicy
3 define transform-policy-to-conf
4 @mkdir -p $(dir $@)
5 $(hide) m4 $(PRIVATE_ADDITIONAL_M4DEFS) \
6         -D mls_num_sens=$(PRIVATE_MLS_SENS) -D mls_num_cats=$(PRIVATE_MLS_CATS) \
7         -D target_build_variant=$(PRIVATE_TARGET_BUILD_VARIANT) \
8         -D target_with_dexpreopt=$(WITH_DEXPREOPT) \
9         -D target_arch=$(PRIVATE_TGT_ARCH) \
10         -D target_with_asan=$(PRIVATE_TGT_WITH_ASAN) \
11         -D target_full_treble=$(PRIVATE_SEPOLICY_SPLIT) \
12         -D target_compatible_property=$(PRIVATE_COMPATIBLE_PROPERTY) \
13         $(PRIVATE_TGT_RECOVERY) \
14         -s $^ > $@
15 endef
16 .KATI_READONLY := transform-policy-to-conf