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

gn build: Reland c52efdc5, "gn build: (manually) merge b5913e6d2f"

Because b5913e6d2f landed again as c54959c0.
This commit is contained in:
Peter Collingbourne 2019-11-22 18:05:19 -08:00
parent 600ec0d5c6
commit 52da15c594

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("InstallNameToolOpts") {
visibility = [ ":llvm-objcopy" ]
args = [ "-gen-opt-parser-defs" ]
}
tablegen("ObjcopyOpts") {
visibility = [ ":llvm-objcopy" ]
args = [ "-gen-opt-parser-defs" ]
@ -12,7 +17,10 @@ tablegen("StripOpts") {
args = [ "-gen-opt-parser-defs" ]
}
symlinks = [ "llvm-strip" ]
symlinks = [
"llvm-install-name-tool",
"llvm-strip",
]
if (llvm_install_binutils_symlinks) {
symlinks += [
"objcopy",
@ -39,6 +47,7 @@ group("symlinks") {
executable("llvm-objcopy") {
deps = [
":InstallNameToolOpts",
":ObjcopyOpts",
":StripOpts",
"//llvm/lib/MC",