diff --git a/Android.mk b/Android.mk index 6a0f666ddd9e3a8c41e2cc15fd2e85a4b2f3f020..fd213f861f55fff1e45288b8fb188e54c972dfa0 100644 --- a/Android.mk +++ b/Android.mk @@ -157,7 +157,7 @@ LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_SYSTEM)/base_rules.mk all_fc_files := file_contexts -ifeq (address,$(strip $(SANITIZE_TARGET))) +ifneq ($(filter address,$(SANITIZE_TARGET)),) all_fc_files := $(all_fc_files) file_contexts_asan endif all_fc_files := $(call build_policy, $(all_fc_files))