1static_library("darwin") { 2 output_name = "clangTidyDarwinModule" 3 configs += [ "//llvm/utils/gn/build:clang_code" ] 4 deps = [ 5 "//clang-tools-extra/clang-tidy", 6 "//clang-tools-extra/clang-tidy/utils", 7 "//clang/lib/AST", 8 "//clang/lib/ASTMatchers", 9 "//clang/lib/Analysis", 10 "//clang/lib/Basic", 11 "//clang/lib/Lex", 12 "//llvm/lib/Support", 13 ] 14 sources = [ 15 "AvoidSpinlockCheck.cpp", 16 "DarwinTidyModule.cpp", 17 "DispatchOnceNonstaticCheck.cpp", 18 ] 19} 20