[compiler-rt] Run cpplint only for check-sanitizer

llvm-svn: 371703
This commit is contained in:
Vitaly Buka 2019-09-12 01:35:11 +00:00
parent a3cd67c007
commit 6e8c21857e
2 changed files with 5 additions and 3 deletions

View File

@ -26,9 +26,6 @@ if(NOT ANDROID)
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS KillTheDoctor)
endif()
endif()
if(CMAKE_HOST_UNIX)
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS SanitizerLintCheck)
endif()
endif()
function(compiler_rt_test_runtime runtime)

View File

@ -1,6 +1,11 @@
set(SANITIZER_COMMON_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(SANITIZER_COMMON_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
if(CMAKE_HOST_UNIX)
list(APPEND SANITIZER_COMMON_TEST_DEPS SanitizerLintCheck)
endif()
set(SANITIZER_COMMON_TESTSUITES)
# FIXME(dliew): We should switch to COMPILER_RT_SANITIZERS_TO_BUILD instead of