summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)