1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[gn build] (manually) port 5495b691646

This commit is contained in:
Nico Weber 2020-09-18 21:27:42 -04:00
parent 8837f43bbb
commit a5b0afab2f

View File

@ -2,6 +2,11 @@ import("//llvm/tools/binutils_symlinks.gni")
import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
tablegen("BitcodeStripOpts") {
visibility = [ ":llvm-objcopy" ]
args = [ "-gen-opt-parser-defs" ]
}
tablegen("InstallNameToolOpts") {
visibility = [ ":llvm-objcopy" ]
args = [ "-gen-opt-parser-defs" ]
@ -18,6 +23,7 @@ tablegen("StripOpts") {
}
symlinks = [
"llvm-bitcode-strip",
"llvm-install-name-tool",
"llvm-strip",
]
@ -45,6 +51,7 @@ group("symlinks") {
executable("llvm-objcopy") {
deps = [
":BitcodeStripOpts",
":InstallNameToolOpts",
":ObjcopyOpts",
":StripOpts",