summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2012-05-24 14:28:47 -0700
committerSelim Gurun <sgurun@google.com>2012-05-24 14:28:47 -0700
commitf4dca79bcaa251f18d504a81766e3f5a6397ba43 (patch)
tree59a3b5335f1d2e438b827384b79ac4f57ef18f6e
parent27d9d3d22e980342fe7a2ab18777b59ad5e04a15 (diff)
downloadexternal_chromium-f4dca79bcaa251f18d504a81766e3f5a6397ba43.zip
external_chromium-f4dca79bcaa251f18d504a81766e3f5a6397ba43.tar.gz
external_chromium-f4dca79bcaa251f18d504a81766e3f5a6397ba43.tar.bz2
Modify Makefile for building for ASAN
Change-Id: I18fe150f994d9217d0526660b1cac781fdac92cb
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7d1034e..4863e57 100644
--- a/Android.mk
+++ b/Android.mk
@@ -487,4 +487,9 @@ LOCAL_PRELINK_MODULE := false
# Including this will modify the include path
include external/stlport/libstlport.mk
+ifneq ($(strip $(WITH_ADDRESS_SANITIZER)),)
+ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/asan
+ LOCAL_ADDRESS_SANITIZER := true
+endif
+
include $(BUILD_SHARED_LIBRARY)