Skip to content

Commit 681107e

Browse files
committed
[gn build] (manually) port f8c6515 (libLLVMDWP)
1 parent 5b93e3a commit 681107e

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
static_library("DWP") {
2+
output_name = "LLVMDWP"
3+
deps = [
4+
"//llvm/lib/DebugInfo/DWARF",
5+
"//llvm/lib/MC",
6+
"//llvm/lib/Object",
7+
"//llvm/lib/Support",
8+
"//llvm/lib/Target",
9+
]
10+
sources = [
11+
"DWP.cpp",
12+
"DWPError.cpp",
13+
]
14+
}

llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@ group("symlinks") {
1919

2020
executable("llvm-dwp") {
2121
deps = [
22-
"//llvm/lib/CodeGen/AsmPrinter",
2322
"//llvm/lib/DebugInfo/DWARF",
23+
"//llvm/lib/DWP",
2424
"//llvm/lib/MC",
2525
"//llvm/lib/Object",
2626
"//llvm/lib/Support",
27-
"//llvm/lib/Target",
2827
"//llvm/lib/Target:TargetsToBuild",
2928
]
30-
sources = [
31-
"DWP.cpp",
32-
"DWPError.cpp",
33-
"llvm-dwp.cpp",
34-
]
29+
sources = [ "llvm-dwp.cpp" ]
3530
}

0 commit comments

Comments
 (0)