[llvm] 681107e - [gn build] (manually) port f8c6515554cc (libLLVMDWP)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 22 16:38:56 PDT 2021
Author: Nico Weber
Date: 2021-07-22T19:38:50-04:00
New Revision: 681107e9f0289a8514821e2954025554c8fabb1e
URL: https://github.com/llvm/llvm-project/commit/681107e9f0289a8514821e2954025554c8fabb1e
DIFF: https://github.com/llvm/llvm-project/commit/681107e9f0289a8514821e2954025554c8fabb1e.diff
LOG: [gn build] (manually) port f8c6515554cc (libLLVMDWP)
Added:
llvm/utils/gn/secondary/llvm/lib/DWP/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/DWP/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/DWP/BUILD.gn
new file mode 100644
index 0000000000000..3212591cd3f1b
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/lib/DWP/BUILD.gn
@@ -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",
+ ]
+}
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
index caa77e9a9fd40..e6c6d2b182d91 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
@@ -19,17 +19,12 @@ group("symlinks") {
executable("llvm-dwp") {
deps = [
- "//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DebugInfo/DWARF",
+ "//llvm/lib/DWP",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Support",
- "//llvm/lib/Target",
"//llvm/lib/Target:TargetsToBuild",
]
- sources = [
- "DWP.cpp",
- "DWPError.cpp",
- "llvm-dwp.cpp",
- ]
+ sources = [ "llvm-dwp.cpp" ]
}
More information about the llvm-commits
mailing list