Index: llvm/utils/gn/secondary/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/BUILD.gn +++ llvm/utils/gn/secondary/BUILD.gn @@ -2,7 +2,14 @@ deps = [ "//lld/tools/lld", "//llvm/tools/llc", + "//llvm/tools/llvm-as", + "//llvm/tools/llvm-dis", + "//llvm/tools/llvm-dwarfdump", + "//llvm/tools/llvm-mc", "//llvm/tools/llvm-undname", + "//llvm/utils/FileCheck", + "//llvm/utils/count", + "//llvm/utils/not", ] } Index: llvm/utils/gn/secondary/llvm/tools/llvm-as/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/tools/llvm-as/BUILD.gn @@ -0,0 +1,11 @@ +executable("llvm-as") { + deps = [ + "//llvm/lib/AsmParser", + "//llvm/lib/Bitcode/Writer", + "//llvm/lib/IR", + "//llvm/lib/Support", + ] + sources = [ + "llvm-as.cpp", + ] +} Index: llvm/utils/gn/secondary/llvm/tools/llvm-dis/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/tools/llvm-dis/BUILD.gn @@ -0,0 +1,10 @@ +executable("llvm-dis") { + deps = [ + "//llvm/lib/Bitcode/Reader", + "//llvm/lib/IR", + "//llvm/lib/Support", + ] + sources = [ + "llvm-dis.cpp", + ] +} Index: llvm/utils/gn/secondary/llvm/tools/llvm-dwarfdump/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/tools/llvm-dwarfdump/BUILD.gn @@ -0,0 +1,14 @@ +executable("llvm-dwarfdump") { + deps = [ + "//llvm/lib/DebugInfo/DWARF", + "//llvm/lib/MC", + "//llvm/lib/Object", + "//llvm/lib/Support", + "//llvm/lib/Target:AllTargetsDescs", + "//llvm/lib/Target:AllTargetsInfos", + ] + sources = [ + "Statistics.cpp", + "llvm-dwarfdump.cpp", + ] +} Index: llvm/utils/gn/secondary/llvm/tools/llvm-mc/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/tools/llvm-mc/BUILD.gn @@ -0,0 +1,16 @@ +executable("llvm-mc") { + deps = [ + "//llvm/lib/MC", + "//llvm/lib/MC/MCParser", + "//llvm/lib/Support", + "//llvm/lib/Target:AllTargetsAsmParsers", + "//llvm/lib/Target:AllTargetsAsmPrinters", + "//llvm/lib/Target:AllTargetsDescs", + "//llvm/lib/Target:AllTargetsDisassemblers", + "//llvm/lib/Target:AllTargetsInfos", + ] + sources = [ + "Disassembler.cpp", + "llvm-mc.cpp", + ] +} Index: llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn @@ -0,0 +1,8 @@ +executable("FileCheck") { + deps = [ + "//llvm/lib/Support", + ] + sources = [ + "FileCheck.cpp", + ] +} Index: llvm/utils/gn/secondary/llvm/utils/count/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/utils/count/BUILD.gn @@ -0,0 +1,5 @@ +executable("count") { + sources = [ + "count.c", + ] +} Index: llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn =================================================================== --- /dev/null +++ llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn @@ -0,0 +1,8 @@ +executable("not") { + deps = [ + "//llvm/lib/Support", + ] + sources = [ + "not.cpp", + ] +}