[Bazel] Update Bazel build to add symbol_graph.

Differential Revision: https://reviews.llvm.org/D121886
This commit is contained in:
Adrian Kuegel 2022-03-17 08:49:27 +01:00
parent 9df395bb68
commit 0e694e1426
1 changed files with 18 additions and 0 deletions

View File

@ -1284,6 +1284,23 @@ cc_library(
],
)
cc_library(
name = "symbol_graph",
srcs = glob([
"lib/SymbolGraph/*.cpp",
]),
hdrs = glob([
"include/clang/SymbolGraph/*.h",
]),
includes = ["include"],
deps = [
":ast",
":basic",
":frontend",
":index",
],
)
gentbl(
name = "driver_options_inc_gen",
tbl_outs = [(
@ -1716,6 +1733,7 @@ cc_library(
":frontend",
":frontend_rewrite",
":static_analyzer_frontend",
":symbol_graph",
"//llvm:Option",
"//llvm:Support",
],