[gn build] (manually) port f8c6515554 (libLLVMDWP)

This commit is contained in:
Nico Weber 2021-07-22 19:38:19 -04:00
parent 5b93e3a75f
commit 681107e9f0
2 changed files with 16 additions and 7 deletions

View File

@ -0,0 +1,14 @@
static_library("DWP") {
output_name = "LLVMDWP"
deps = [
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Support",
"//llvm/lib/Target",
]
sources = [
"DWP.cpp",
"DWPError.cpp",
]
}

View File

@ -19,17 +19,12 @@ group("symlinks") {
executable("llvm-dwp") { executable("llvm-dwp") {
deps = [ deps = [
"//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DebugInfo/DWARF", "//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/DWP",
"//llvm/lib/MC", "//llvm/lib/MC",
"//llvm/lib/Object", "//llvm/lib/Object",
"//llvm/lib/Support", "//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/Target:TargetsToBuild", "//llvm/lib/Target:TargetsToBuild",
] ]
sources = [ sources = [ "llvm-dwp.cpp" ]
"DWP.cpp",
"DWPError.cpp",
"llvm-dwp.cpp",
]
} }