[asan] Remove dependency of tests on runtime library in standalone build.

llvm-svn: 210465
This commit is contained in:
Evgeniy Stepanov 2014-06-09 11:17:37 +00:00
parent 82ae94f704
commit b22b963669
1 changed files with 4 additions and 2 deletions

View File

@ -96,8 +96,10 @@ if(COMPILER_RT_INCLUDE_TESTS)
${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
endif()
set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} asan)
if(NOT COMPILER_RT_STANDALONE_BUILD)
set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
if(COMPILER_RT_STANDALONE_BUILD)
list(APPEND ASAN_TEST_DEPS ${LLVM_TOOLS_BINARY_DIR}/FileCheck)
else()
list(APPEND ASAN_TEST_DEPS asan)
endif()