forked from OSchip/llvm-project
[ASan] make sure Android unittests depend on ASan runtime
llvm-svn: 170543
This commit is contained in:
parent
d3be5d9bf6
commit
b29d37bea5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue