[gn build] (manually) port 5aab45f43066 (SymbolGraph)

This commit is contained in:
Nico Weber 2022-03-16 19:18:27 -04:00
parent 1458458b55
commit 668d880f59
3 changed files with 18 additions and 1 deletions

View File

@ -29,7 +29,6 @@ static_library("Frontend") {
"DependencyFile.cpp",
"DependencyGraph.cpp",
"DiagnosticRenderer.cpp",
"ExtractAPIConsumer.cpp",
"FrontendAction.cpp",
"FrontendActions.cpp",
"FrontendOptions.cpp",

View File

@ -14,6 +14,7 @@ static_library("FrontendTool") {
"//clang/lib/Driver",
"//clang/lib/Frontend",
"//clang/lib/Frontend/Rewrite",
"//clang/lib/SymbolGraph",
"//llvm/lib/Option",
"//llvm/lib/Support",
]

View File

@ -0,0 +1,17 @@
static_library("SymbolGraph") {
output_name = "clangSymbolGraph"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Frontend",
"//clang/lib/Index",
"//llvm/lib/Support",
]
sources = [
"API.cpp",
"ExtractAPIConsumer.cpp",
"DeclarationFragments.cpp",
"Serialization.cpp",
]
}