diff options
author | Dan Albert <danalbert@google.com> | 2014-10-21 11:14:41 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-10-21 11:14:41 -0700 |
commit | d5f54f137b2f4a05d377e35ca1fad366478d28c0 (patch) | |
tree | f6a2c157bc7baa8240832466dc81a998be25b17e | |
parent | dde037b82e5cd6215244e3240dbaad417928eafa (diff) | |
download | scrypt-d5f54f137b2f4a05d377e35ca1fad366478d28c0.tar.gz |
Build this test with clang for ASAN_ALL.
Since some of the test's dependencies use clang, ASAN_ALL will cause
those to be built with ASAN instrumentation, meaning the final
executable needs to be linked with ASAN's runtime libraries.
The simple fix is to just move the test to clang to let it link with
ASAN when ASAN_ALL is provided.
Change-Id: I8d134667347ec45fe59d557e3c792520eaf62f1b
-rw-r--r-- | tests/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index b25e1c4..c9e1d26 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -5,6 +5,8 @@ include $(CLEAR_VARS) LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_CLANG := true + LOCAL_SRC_FILES:= \ scrypt_test.cpp |