llvm-for-llvmta/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn

22 lines
391 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Opts") {
visibility = [ ":llvm-ml" ]
args = [ "-gen-opt-parser-defs" ]
}
executable("llvm-ml") {
deps = [
":Opts",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
]
sources = [
"Disassembler.cpp",
"llvm-ml.cpp",
]
}