You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
590 B
15 lines
590 B
# Command to turn collection of policy files into a policy.conf file to be |
|
# processed by checkpolicy |
|
define transform-policy-to-conf |
|
@mkdir -p $(dir $@) |
|
$(hide) m4 $(PRIVATE_ADDITIONAL_M4DEFS) \ |
|
-D mls_num_sens=$(PRIVATE_MLS_SENS) -D mls_num_cats=$(PRIVATE_MLS_CATS) \ |
|
-D target_build_variant=$(TARGET_BUILD_VARIANT) \ |
|
-D target_with_dexpreopt=$(WITH_DEXPREOPT) \ |
|
-D target_arch=$(PRIVATE_TGT_ARCH) \ |
|
-D target_with_asan=$(PRIVATE_TGT_WITH_ASAN) \ |
|
-D target_full_treble=$(PRIVATE_FULL_TREBLE) \ |
|
$(PRIVATE_TGT_RECOVERY) \ |
|
-s $^ > $@ |
|
endef |
|
.KATI_READONLY := transform-policy-to-conf
|
|
|