[gn build] (manually) port ded733bd4 (llvm-remark-size-diff)
authorNico Weber <thakis@chromium.org>
Thu, 3 Feb 2022 00:32:41 +0000 (19:32 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 3 Feb 2022 00:32:54 +0000 (19:32 -0500)
llvm/utils/gn/secondary/llvm/test/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-remark-size-diff/BUILD.gn [new file with mode: 0644]

index 042972a..970caaf 100644 (file)
@@ -281,6 +281,7 @@ group("test") {
     "//llvm/tools/llvm-rc:symlinks",
     "//llvm/tools/llvm-readobj:symlinks",
     "//llvm/tools/llvm-reduce",
+    "//llvm/tools/llvm-remark-size-diff",
     "//llvm/tools/llvm-rtdyld",
     "//llvm/tools/llvm-sim",
     "//llvm/tools/llvm-size",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-remark-size-diff/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-remark-size-diff/BUILD.gn
new file mode 100644 (file)
index 0000000..4d49d7e
--- /dev/null
@@ -0,0 +1,10 @@
+executable("llvm-remark-size-diff") {
+  deps = [
+    "//llvm/lib/Demangle",
+    "//llvm/lib/IR",
+    "//llvm/lib/Object",
+    "//llvm/lib/Remarks",
+    "//llvm/lib/Support",
+  ]
+  sources = [ "RemarkSizeDiff.cpp" ]
+}