diff --git a/Android.mk b/Android.mk index bb377128751166efa2a5f43a03e3b16231a467f0..0b9af0aecd7273545ea22e92aec212b02de57e29 100644 --- a/Android.mk +++ b/Android.mk @@ -156,7 +156,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))