asan: update condition to work with multiple SANITIZE_TARGET values.
The goal is to enable SANITIZE_TARGET='address coverage', which will be used by LLVMFuzzer. Bug: 22850550 Change-Id: I953649186a7fae9b2495159237521f264d1de3b6
This commit is contained in:
parent
eb8b2188e8
commit
9aa413036b
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue