gn build: Merge r368021

llvm-svn: 368025
This commit is contained in:
Nico Weber 2019-08-06 13:08:54 +00:00
parent 612b038966
commit 87951c89d7
3 changed files with 9 additions and 8 deletions

View File

@ -2,9 +2,12 @@ static_library("ObjectYAML") {
output_name = "LLVMObjectYAML"
deps = [
"//llvm/lib/DebugInfo/CodeView",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Support",
]
sources = [
"COFFEmitter.cpp",
"COFFYAML.cpp",
"CodeViewYAMLDebugSections.cpp",
"CodeViewYAMLSymbols.cpp",
@ -13,12 +16,17 @@ static_library("ObjectYAML") {
"DWARFEmitter.cpp",
"DWARFVisitor.cpp",
"DWARFYAML.cpp",
"ELFEmitter.cpp",
"ELFYAML.cpp",
"MachOEmitter.cpp",
"MachOYAML.cpp",
"MinidumpEmitter.cpp",
"MinidumpYAML.cpp",
"ObjectYAML.cpp",
"WasmEmitter.cpp",
"WasmYAML.cpp",
"XCOFFYAML.cpp",
"YAML.cpp",
"yaml2obj.cpp",
]
}

View File

@ -1,17 +1,9 @@
executable("yaml2obj") {
deps = [
"//llvm/lib/DebugInfo/CodeView",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/ObjectYAML",
"//llvm/lib/Support",
]
sources = [
"yaml2coff.cpp",
"yaml2elf.cpp",
"yaml2macho.cpp",
"yaml2minidump.cpp",
"yaml2obj.cpp",
"yaml2wasm.cpp",
]
}

View File

@ -8,6 +8,7 @@ unittest("ObjectYAMLTests") {
]
sources = [
"MinidumpYAMLTest.cpp",
"YAML2ObjTest.cpp",
"YAMLTest.cpp",
]
}