[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / android / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   support
3   FrontendOpenMP
4   )
5
6 add_clang_library(clangTidyAndroidModule
7   AndroidTidyModule.cpp
8   CloexecAccept4Check.cpp
9   CloexecAcceptCheck.cpp
10   CloexecCheck.cpp
11   CloexecCreatCheck.cpp
12   CloexecDupCheck.cpp
13   CloexecEpollCreate1Check.cpp
14   CloexecEpollCreateCheck.cpp
15   CloexecFopenCheck.cpp
16   CloexecInotifyInit1Check.cpp
17   CloexecInotifyInitCheck.cpp
18   CloexecMemfdCreateCheck.cpp
19   CloexecOpenCheck.cpp
20   CloexecPipeCheck.cpp
21   CloexecPipe2Check.cpp
22   CloexecSocketCheck.cpp
23   ComparisonInTempFailureRetryCheck.cpp
24
25   LINK_LIBS
26   clangTidy
27   clangTidyUtils
28   )
29
30 clang_target_link_libraries(clangTidyAndroidModule
31   PRIVATE
32   clangAST
33   clangASTMatchers
34   clangBasic
35   clangLex
36   )