1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

[gn build] (manually) port 98f078324fc5 (llvm-strings Opts.td)

This commit is contained in:
Nico Weber 2021-07-05 14:43:05 -04:00
parent 44791e33f4
commit 27befb62e0

View File

@ -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" ]