OSDN Git Service

asan: update condition to work with multiple SANITIZE_TARGET values.
authorIvan Krasin <krasin@google.com>
Thu, 17 Sep 2015 20:40:19 +0000 (13:40 -0700)
committerIvan Krasin <krasin@google.com>
Thu, 17 Sep 2015 20:51:37 +0000 (13:51 -0700)
The goal is to enable SANITIZE_TARGET='address coverage', which
will be used by LLVMFuzzer.

Bug: 22850550
Bug: 22233158
Change-Id: I909c6268e5c3d2da0361f2a2216cac080afbee64

dex2oat/Android.mk

index 2c90623..3cfdc4c 100644 (file)
@@ -21,7 +21,7 @@
 # tree). By disabling this module in SANITIZE_TARGET build, we keep the regular,
 # uninstrumented version of it.
 # Bug: 22233158
-ifneq (address,$(strip $(SANITIZE_TARGET)))
+ifeq (,$(filter address, $(SANITIZE_TARGET)))
 
 LOCAL_PATH := $(call my-dir)