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

36 lines
767 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Options") {
visibility = [ ":dsymutil" ]
args = [ "-gen-opt-parser-defs" ]
}
executable("dsymutil") {
deps = [
":Options",
"//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DWARFLinker",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/Target:TargetsToBuild",
]
sources = [
"BinaryHolder.cpp",
"CFBundle.cpp",
"DebugMap.cpp",
"DwarfLinkerForBinary.cpp",
"MachODebugMapParser.cpp",
"MachOUtils.cpp",
"Reproducer.cpp",
"SymbolMap.cpp",
"dsymutil.cpp",
]
if (host_os == "mac") {
frameworks = [ "CoreFoundation.framework" ]
}
}