1 import("//llvm/tools/binutils_symlinks.gni")
2 import("//llvm/utils/gn/build/symlink_or_copy.gni")
9 if (llvm_install_binutils_symlinks) {
16 foreach(target, symlinks) {
17 symlink_or_copy(target) {
22 output = "$root_out_dir/bin/$target"
26 # //:llvm-ar depends on this symlink target, see comment in //BUILD.gn.
29 foreach(target, symlinks) {
30 deps += [ ":$target" ]
34 executable("llvm-ar") {
39 "//llvm/lib/Target:TargetsToBuild",
40 "//llvm/lib/ToolDrivers/llvm-dlltool:DlltoolDriver",
41 "//llvm/lib/ToolDrivers/llvm-lib:LibDriver",