1set(LLVM_LINK_COMPONENTS
2  ${LLVM_TARGETS_TO_BUILD}
3  Support
4  Option
5  )
6
7add_clang_unittest(ClangDriverTests
8  DistroTest.cpp
9  ToolChainTest.cpp
10  ModuleCacheTest.cpp
11  MultilibTest.cpp
12  SanitizerArgsTest.cpp
13  )
14
15clang_target_link_libraries(ClangDriverTests
16  PRIVATE
17  clangDriver
18  clangBasic
19  clangFrontend # For TextDiagnosticPrinter.
20  )
21