[PATCH] D121886: [Bazel] Update Bazel build to add symbol_graph.

Adrian Kuegel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 01:27:05 PDT 2022


akuegel updated this revision to Diff 416088.
akuegel added a comment.

Rebase.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121886/new/

https://reviews.llvm.org/D121886

Files:
  utils/bazel/llvm-project-overlay/clang/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/clang/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -1284,6 +1284,23 @@
     ],
 )
 
+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 @@
         ":frontend",
         ":frontend_rewrite",
         ":static_analyzer_frontend",
+        ":symbol_graph",
         "//llvm:Option",
         "//llvm:Support",
     ],


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121886.416088.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/1709f7f5/attachment.bin>


More information about the llvm-commits mailing list