am c449b7a5: am eef1eb64: Merge "Allow asan for glibc tests."

* commit 'c449b7a533f797b223cdc2c8129de2261a547823':
  Allow asan for glibc tests.
This commit is contained in:
Dan Albert 2014-11-15 06:55:38 +00:00 committed by Android Git Automerger
commit 27cdb39e35
2 changed files with 5 additions and 0 deletions

View File

@ -35,7 +35,10 @@ endif
endif
LOCAL_CLANG := $($(module)_clang_$(build_type))
ifneq ($($(module)_allow_asan),true)
LOCAL_ADDRESS_SANITIZER := false
endif
LOCAL_FORCE_STATIC_EXECUTABLE := $($(module)_force_static_executable)

View File

@ -317,6 +317,8 @@ bionic-unit-tests-glibc_cflags := $(test_cflags)
bionic-unit-tests-glibc_cppflags := $(test_cppflags)
bionic-unit-tests-glibc_ldflags := -Wl,--export-dynamic
bionic-unit-tests-glibc_allow_asan := true
module := bionic-unit-tests-glibc
module_tag := optional
build_type := host