diff --git a/Android.mk b/Android.mk index a3249a87d9817cda6af5cde8bda340c5fb84be75..c511f2915721a15b98dfd6d10a39e3d31dead5b0 100644 --- a/Android.mk +++ b/Android.mk @@ -27,7 +27,7 @@ $(sepolicy_policy.conf) : $(wildcard $(addprefix $(LOCAL_PATH)/,security_classes @mkdir -p $(dir $@) $(hide) m4 -D mls_num_sens=$(PRIVATE_MLS_SENS) -D mls_num_cats=$(PRIVATE_MLS_CATS) -s $^ > $@ -$(LOCAL_BUILT_MODULE) : $(sepolicy_policy.conf) +$(LOCAL_BUILT_MODULE) : $(sepolicy_policy.conf) $(HOST_OUT_EXECUTABLES)/checkpolicy @mkdir -p $(dir $@) $(hide) checkpolicy -M -c $(POLICYVERS) -o $@ $<