[llvm] 5a3399c - [gn] port ec64af599421
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 10:33:47 PST 2023
Author: Nico Weber
Date: 2023-11-15T13:33:37-05:00
New Revision: 5a3399c49600b7b61a10225deedc699ce96d8a07
URL: https://github.com/llvm/llvm-project/commit/5a3399c49600b7b61a10225deedc699ce96d8a07
DIFF: https://github.com/llvm/llvm-project/commit/5a3399c49600b7b61a10225deedc699ce96d8a07.diff
LOG: [gn] port ec64af599421
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-readtapi/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-readtapi/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-readtapi/BUILD.gn
index bcd883b0d9d5858..a562d04c4e90dda 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-readtapi/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-readtapi/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("TapiOpts") {
+ visibility = [ ":llvm-readtapi" ]
+ args = [ "-gen-opt-parser-defs" ]
+}
+
if (llvm_install_binutils_symlinks) {
symlink_or_copy("readtapi") {
deps = [ ":llvm-readtapi" ]
@@ -19,7 +25,9 @@ group("symlinks") {
executable("llvm-readtapi") {
deps = [
+ ":TapiOpts",
"//llvm/lib/Object",
+ "//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/TextAPI",
]
More information about the llvm-commits
mailing list