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 000000000000..3212591cd3f1 --- /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 caa77e9a9fd4..e6c6d2b182d9 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" ] }