mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[gn build] (manually) port 98f078324fc5 (llvm-strings Opts.td)
This commit is contained in:
parent
44791e33f4
commit
27befb62e0
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user