[ASan] make sure Android unittests depend on ASan runtime

llvm-svn: 170543
This commit is contained in:
Alexey Samsonov 2012-12-19 13:46:58 +00:00
parent d3be5d9bf6
commit b29d37bea5
1 changed files with 2 additions and 0 deletions

View File

@ -169,5 +169,7 @@ if(ANDROID)
set_target_properties(AsanTest PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR})
set_target_link_flags(AsanTest ${ASAN_LINK_FLAGS})
add_dependencies(AsanTest ${ASAN_RUNTIME_LIBRARIES})
# Add unit test to test suite.
add_dependencies(AsanUnitTests AsanTest)
endif()