[llvm] 325a561 - [gn build] (manually) port 98f078324fc5 (llvm-strings Opts.td)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 5 11:43:21 PDT 2021
Author: Nico Weber
Date: 2021-07-05T14:43:05-04:00
New Revision: 325a5619e47500a7301bd99e39a82e27d06571df
URL: https://github.com/llvm/llvm-project/commit/325a5619e47500a7301bd99e39a82e27d06571df
DIFF: https://github.com/llvm/llvm-project/commit/325a5619e47500a7301bd99e39a82e27d06571df.diff
LOG: [gn build] (manually) port 98f078324fc5 (llvm-strings Opts.td)
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
index c88c72990bca6..0e8ed93fce447 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
@@ -1,6 +1,12 @@
import("//llvm/tools/binutils_symlinks.gni")
+import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
+tablegen("Opts") {
+ visibility = [ ":llvm-strings" ]
+ args = [ "-gen-opt-parser-defs" ]
+}
+
if (llvm_install_binutils_symlinks) {
symlink_or_copy("strings") {
deps = [ ":llvm-strings" ]
@@ -19,8 +25,10 @@ group("symlinks") {
executable("llvm-strings") {
deps = [
+ ":Opts",
"//llvm/lib/IR",
"//llvm/lib/Object",
+ "//llvm/lib/Option",
"//llvm/lib/Support",
]
sources = [ "llvm-strings.cpp" ]
More information about the llvm-commits
mailing list