[llvm] ddb26e2 - [gn build] manually port 4d293f215dfb (LLVMDiff lib)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 13:09:40 PDT 2021
Author: Nico Weber
Date: 2021-08-05T22:09:02+02:00
New Revision: ddb26e2e003bd21de5a021bea67cf70c9c5b6e4b
URL: https://github.com/llvm/llvm-project/commit/ddb26e2e003bd21de5a021bea67cf70c9c5b6e4b
DIFF: https://github.com/llvm/llvm-project/commit/ddb26e2e003bd21de5a021bea67cf70c9c5b6e4b.diff
LOG: [gn build] manually port 4d293f215dfb (LLVMDiff lib)
Added:
llvm/utils/gn/secondary/llvm/tools/llvm-diff/lib/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-diff/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /BUILD.gn
index 5f46d8c61112..d2e7b9e134c7 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /BUILD.gn
@@ -1,13 +1,9 @@
executable("llvm-
diff ") {
deps = [
+ "lib",
"//llvm/lib/IR",
"//llvm/lib/IRReader",
"//llvm/lib/Support",
]
- sources = [
- "DiffConsumer.cpp",
- "DiffLog.cpp",
- "DifferenceEngine.cpp",
- "llvm-
diff .cpp",
- ]
+ sources = [ "llvm-
diff .cpp" ]
}
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /lib/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /lib/BUILD.gn
new file mode 100644
index 000000000000..6bc5b0a948df
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-
diff /lib/BUILD.gn
@@ -0,0 +1,15 @@
+static_library("lib") {
+ output_name = "LLVMDiff"
+ deps = [
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "DiffConsumer.cpp",
+ "DiffConsumer.h",
+ "DifferenceEngine.cpp",
+ "DifferenceEngine.h",
+ "DiffLog.cpp",
+ "DiffLog.h",
+ ]
+}
More information about the llvm-commits
mailing list