1static_library("Index") { 2 output_name = "clangIndex" 3 configs += [ "//llvm/utils/gn/build:clang_code" ] 4 deps = [ 5 "//clang/lib/AST", 6 "//clang/lib/Basic", 7 "//clang/lib/Format", 8 "//clang/lib/Frontend", 9 "//clang/lib/Rewrite", 10 "//clang/lib/Serialization", 11 "//clang/lib/Tooling/Core", 12 "//llvm/lib/IR", 13 "//llvm/lib/Support", 14 ] 15 sources = [ 16 "CommentToXML.cpp", 17 "FileIndexRecord.cpp", 18 "IndexBody.cpp", 19 "IndexDecl.cpp", 20 "IndexSymbol.cpp", 21 "IndexTypeSourceInfo.cpp", 22 "IndexingAction.cpp", 23 "IndexingContext.cpp", 24 "IndexingContext.h", 25 "USRGeneration.cpp", 26 ] 27} 28