diff --git a/Android.mk b/Android.mk index 0503b55444096021e296d374636ffb47a05e4ae7..07c075e26c5b2845bb7373f048808ba6c5678e64 100644 --- a/Android.mk +++ b/Android.mk @@ -194,12 +194,12 @@ LOCAL_REQUIRED_MODULES += \ plat_sepolicy.cil \ plat_and_mapping_sepolicy.cil.sha256 \ secilc \ - plat_sepolicy_vers.txt + plat_sepolicy_vers.txt \ ifneq ($(with_asan),true) LOCAL_REQUIRED_MODULES += \ treble_sepolicy_tests \ - sepolicy_tests + endif # Include precompiled policy, unless told otherwise @@ -213,7 +213,13 @@ endif LOCAL_REQUIRED_MODULES += \ nonplat_file_contexts \ - plat_file_contexts + plat_file_contexts \ + +ifneq ($(with_asan),true) +LOCAL_REQUIRED_MODULES += \ + sepolicy_tests \ + +endif include $(BUILD_PHONY_PACKAGE)