gn build: Merge r368358.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Aug 2019 19:28:17 +0000 (19:28 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Aug 2019 19:28:17 +0000 (19:28 +0000)
llvm-svn: 368466

llvm/utils/gn/secondary/llvm/test/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn [new file with mode: 0644]

index 7c6a316..00acd5a 100644 (file)
@@ -234,6 +234,7 @@ group("test") {
     "//llvm/tools/llvm-profdata",
     "//llvm/tools/llvm-rc",
     "//llvm/tools/llvm-readobj:symlinks",
+    "//llvm/tools/llvm-reduce",
     "//llvm/tools/llvm-rtdyld",
     "//llvm/tools/llvm-size",
     "//llvm/tools/llvm-split",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
new file mode 100644 (file)
index 0000000..2d54f21
--- /dev/null
@@ -0,0 +1,16 @@
+executable("llvm-reduce") {
+  deps = [
+    "//llvm/lib/IR",
+    "//llvm/lib/IRReader",
+    "//llvm/lib/Support",
+    "//llvm/lib/Target",
+    "//llvm/lib/Target:TargetsToBuild",
+    "//llvm/lib/Transforms/Utils",
+  ]
+  sources = [
+    "llvm-reduce.cpp",
+    "TestRunner.cpp",
+    "deltas/Delta.cpp",
+    "deltas/ReduceFunctions.cpp",
+  ]
+}