[llvm] c0700d3 - [gn build] (manually) port ffb9429b6f3c29ab
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 08:43:35 PST 2022
Author: Nico Weber
Date: 2022-03-09T11:43:21-05:00
New Revision: c0700d3228f7f9e8ec458c76839dbb58ff90901a
URL: https://github.com/llvm/llvm-project/commit/c0700d3228f7f9e8ec458c76839dbb58ff90901a
DIFF: https://github.com/llvm/llvm-project/commit/c0700d3228f7f9e8ec458c76839dbb58ff90901a.diff
LOG: [gn build] (manually) port ffb9429b6f3c29ab
Added:
llvm/utils/gn/secondary/lldb/source/Plugins/Platform/gdb-server/BUILD.gn
Modified:
llvm/utils/gn/secondary/lldb/source/Plugins/Platform/POSIX/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Windows/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/POSIX/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/POSIX/BUILD.gn
index 356d014410827..c5565bc20f5a4 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/POSIX/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/POSIX/BUILD.gn
@@ -9,6 +9,7 @@ static_library("POSIX") {
"//lldb/source/Expression",
"//lldb/source/Host",
"//lldb/source/Interpreter",
+ "//lldb/source/Plugins/Platform/gdb-server",
"//lldb/source/Plugins/TypeSystem/Clang",
"//lldb/source/Target",
]
diff --git a/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Windows/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Windows/BUILD.gn
index 11539c7dc4792..4a0f39ce4ba2d 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Windows/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Windows/BUILD.gn
@@ -8,6 +8,7 @@ static_library("Windows") {
"//lldb/source/Breakpoint",
"//lldb/source/Core",
"//lldb/source/Host",
+ "//lldb/source/Plugins/Platform/gdb-server",
"//lldb/source/Target",
]
diff --git a/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/gdb-server/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/gdb-server/BUILD.gn
new file mode 100644
index 0000000000000..c1f99e94b47ec
--- /dev/null
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/gdb-server/BUILD.gn
@@ -0,0 +1,19 @@
+static_library("gdb-server") {
+ output_name = "lldbPluginPlatformGDB"
+ configs += [
+ "//llvm/utils/gn/build:clang_code",
+ "//llvm/utils/gn/build:lldb_code",
+ ]
+ deps = [
+ "//lldb/source/Breakpoint",
+ "//lldb/source/Core",
+ "//lldb/source/Host",
+ "//lldb/source/Plugins/Process/Utility",
+ #"//lldb/source/Plugins/Process/gdb-remote", # 4-deep dependency cycle
+ "//lldb/source/Target",
+ ]
+
+ # Reaches into Plugins/Process/Utility.
+ include_dirs = [ "//lldb/source" ]
+ sources = [ "PlatformRemoteGDBServer.cpp" ]
+}
More information about the llvm-commits
mailing list