Skip to content

Commit

Permalink
Modify Makefile for building for ASAN
Browse files Browse the repository at this point in the history
Change-Id: I18fe150f994d9217d0526660b1cac781fdac92cb
  • Loading branch information
Selim Gurun committed May 24, 2012
1 parent 27d9d3d commit f4dca79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Android.mk
Expand Up @@ -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)

0 comments on commit f4dca79

Please sign in to comment.