forked from OSchip/llvm-project
gn build: Reland c52efdc5
, "gn build: (manually) merge b5913e6d2f"
Becauseb5913e6d2f
landed again asc54959c0
.
This commit is contained in:
parent
9f13a032b6
commit
62335188f3
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue