forked from OSchip/llvm-project
parent
28f30caf9b
commit
408d2152c4
|
@ -233,7 +233,7 @@ macro(add_asan_tests_for_arch_and_kind arch kind)
|
|||
endif()
|
||||
endmacro()
|
||||
|
||||
if(COMPILER_RT_CAN_EXECUTE_TESTS)
|
||||
if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT ANDROID)
|
||||
foreach(arch ${ASAN_SUPPORTED_ARCH})
|
||||
add_asan_tests_for_arch_and_kind(${arch} "-inline")
|
||||
add_asan_tests_for_arch_and_kind(${arch} "-with-calls"
|
||||
|
|
|
@ -141,7 +141,7 @@ macro(add_sanitizer_tests_for_arch arch)
|
|||
endif()
|
||||
endmacro()
|
||||
|
||||
if(COMPILER_RT_CAN_EXECUTE_TESTS)
|
||||
if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT ANDROID)
|
||||
# We use just-built clang to build sanitizer_common unittests, so we must
|
||||
# be sure that produced binaries would work.
|
||||
if(APPLE)
|
||||
|
|
Loading…
Reference in New Issue