[PATCH] D107586: [Bazel] Update for 9854f2f30f (Diff library)

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 11:01:58 PDT 2021


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf8b6e1faa913: [Bazel] Update for 9854f2f30f (Diff library) (authored by GMNGeoffrey).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107586

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


Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -2457,7 +2457,6 @@
         "tools/llvm-exegesis/lib/*.cpp",
         "tools/llvm-exegesis/lib/X86/*.cpp",
         "tools/llvm-exegesis/lib/X86/*.h",
-
         # We have to include these headers here as well as in the `hdrs` below
         # to allow the `.cpp` files to use file-relative-inclusion to find
         # them, even though consumers of this library use inclusion relative to
@@ -3831,6 +3830,17 @@
     ],
 )
 
+cc_library(
+    name = "Diff",
+    testonly = True,
+    srcs = glob(["tools/llvm-diff/lib/*.cpp"]),
+    hdrs = glob(["tools/llvm-diff/lib/*.h"]),
+    deps = [
+        ":Core",
+        ":Support",
+    ],
+)
+
 # A hacky library to expose some internal headers of gtest to its own
 # implementation source files using a stripped include prefix rather than
 # file-relative-inclusion.
@@ -4072,9 +4082,8 @@
     copts = llvm_copts,
     stamp = 0,
     deps = [
-        ":AsmParser",
-        ":BitReader",
         ":Core",
+        ":Diff",
         ":IRReader",
         ":Support",
     ],


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107586.364551.patch
Type: text/x-patch
Size: 1263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/42a7c641/attachment.bin>


More information about the llvm-commits mailing list