[llvm-commits] [compiler-rt] r170543 - /compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
Alexey Samsonov
samsonov at google.com
Wed Dec 19 05:46:58 PST 2012
Author: samsonov
Date: Wed Dec 19 07:46:58 2012
New Revision: 170543
URL: http://llvm.org/viewvc/llvm-project?rev=170543&view=rev
Log:
[ASan] make sure Android unittests depend on ASan runtime
Modified:
compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
Modified: compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/CMakeLists.txt?rev=170543&r1=170542&r2=170543&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/tests/CMakeLists.txt Wed Dec 19 07:46:58 2012
@@ -169,5 +169,7 @@
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()
More information about the llvm-commits
mailing list