1 import("//llvm/tools/binutils_symlinks.gni")
2 import("//llvm/utils/gn/build/symlink_or_copy.gni")
4 symlinks = [ "llvm-readelf" ]
5 if (llvm_install_binutils_symlinks) {
6 symlinks += [ "readelf" ]
8 foreach(target, symlinks) {
9 symlink_or_copy(target) {
13 source = "llvm-readobj"
14 output = "$root_out_dir/bin/$target"
18 # //:llvm-readobj depends on this symlink target, see comment in //BUILD.gn.
21 foreach(target, symlinks) {
22 deps += [ ":$target" ]
26 executable("llvm-readobj") {
28 "//llvm/lib/BinaryFormat",
29 "//llvm/lib/DebugInfo/CodeView",
30 "//llvm/lib/DebugInfo/DWARF",
31 "//llvm/lib/DebugInfo/MSF",
32 "//llvm/lib/DebugInfo/PDB",
37 "ARMWinEHPrinter.cpp",
39 "COFFImportDumper.cpp",
46 "WindowsResourceDumper.cpp",