Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAdrian Kuegel <akuegel@google.com>2022-03-17 10:49:27 +0300
committerAdrian Kuegel <akuegel@google.com>2022-03-17 12:53:04 +0300
commit0e694e142649f536dc7324f9e65fccc7fdeb87b4 (patch)
tree9fce027da6acb8607c3b9bfcfb6599a4f257639a /utils
parent9df395bb68a6798fa859e9ff61d38e2267df4333 (diff)
[Bazel] Update Bazel build to add symbol_graph.
Differential Revision: https://reviews.llvm.org/D121886
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/clang/BUILD.bazel18
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
index fedcd79faa40..cf127dd2dea2 100644
--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -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",
],