From f4dca79bcaa251f18d504a81766e3f5a6397ba43 Mon Sep 17 00:00:00 2001 From: Selim Gurun Date: Thu, 24 May 2012 14:28:47 -0700 Subject: Modify Makefile for building for ASAN Change-Id: I18fe150f994d9217d0526660b1cac781fdac92cb --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.1