[MIPS GlobalISel] Select MSA vector generic and builtin add
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llvm-nm / BUILD.gn
blob51279d997191b0d5d5088073513e2c59468c4a77
1 import("//llvm/tools/binutils_symlinks.gni")
2 import("//llvm/utils/gn/build/symlink_or_copy.gni")
4 if (llvm_install_binutils_symlinks) {
5   symlink_or_copy("nm") {
6     deps = [
7       ":llvm-nm",
8     ]
9     source = "llvm-nm"
10     output = "$root_out_dir/bin/nm"
11   }
14 # //:llvm-nm depends on this symlink target, see comment in //BUILD.gn.
15 group("symlinks") {
16   deps = [
17     ":llvm-nm",
18   ]
19   if (llvm_install_binutils_symlinks) {
20     deps += [ ":nm" ]
21   }
24 executable("llvm-nm") {
25   deps = [
26     "//llvm/lib/Bitcode/Reader",
27     "//llvm/lib/Demangle",
28     "//llvm/lib/IR",
29     "//llvm/lib/Object",
30     "//llvm/lib/Support",
31     "//llvm/lib/Target:AllTargetsAsmParsers",
32     "//llvm/lib/Target:AllTargetsDescs",
33     "//llvm/lib/Target:AllTargetsInfos",
34   ]
35   sources = [
36     "llvm-nm.cpp",
37   ]