Allow asan for glibc tests.

SANITIZE_HOST will break if we don't allow ASAN.

Change-Id: I0beed82b058db391f633e0ea1098f140497c65d4
This commit is contained in:
Dan Albert 2014-11-14 19:58:26 -08:00
parent 27fa71ebc6
commit 01f1ff2440
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

@ -316,6 +316,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