| 1 |
import("//lldb/utils/TableGen/lldb_tablegen.gni") |
| 2 |
|
| 3 |
lldb_tablegen("ProcessGDBRemoteProperties") { |
| 4 |
args = [ "-gen-lldb-property-defs" ] |
| 5 |
} |
| 6 |
|
| 7 |
lldb_tablegen("ProcessGDBRemotePropertiesEnum") { |
| 8 |
args = [ "-gen-lldb-property-enum-defs" ] |
| 9 |
td_file = "ProcessGDBRemoteProperties.td" |
| 10 |
} |
| 11 |
|
| 12 |
static_library("gdb-remote") { |
| 13 |
output_name = "lldbPluginProcessGDBRemote" |
| 14 |
configs += [ "//llvm/utils/gn/build:lldb_code" ] |
| 15 |
deps = [ |
| 16 |
":ProcessGDBRemoteProperties", |
| 17 |
":ProcessGDBRemotePropertiesEnum", |
| 18 |
"//lldb/source/Breakpoint", |
| 19 |
"//lldb/source/Core", |
| 20 |
"//lldb/source/DataFormatters", |
| 21 |
"//lldb/source/Host", |
| 22 |
"//lldb/source/Interpreter", |
| 23 |
"//lldb/source/Plugins/Platform/MacOSX", |
| 24 |
"//lldb/source/Plugins/Process/Utility", |
| 25 |
"//lldb/source/Symbol", |
| 26 |
"//lldb/source/Target", |
| 27 |
"//lldb/source/Utility", |
| 28 |
"//llvm/lib/Support", |
| 29 |
"//llvm/lib/TargetParser", |
| 30 |
] |
| 31 |
|
| 32 |
# XXX if (have_libcompression) { deps += [ compression } } |
| 33 |
# Reaches into Plugins/Process/Utility. |
| 34 |
include_dirs = [ "//lldb/source" ] |
| 35 |
sources = [ |
| 36 |
"GDBRemoteClientBase.cpp", |
| 37 |
"GDBRemoteCommunication.cpp", |
| 38 |
"GDBRemoteCommunicationClient.cpp", |
| 39 |
"GDBRemoteCommunicationHistory.cpp", |
| 40 |
"GDBRemoteCommunicationServer.cpp", |
| 41 |
"GDBRemoteCommunicationServerCommon.cpp", |
| 42 |
"GDBRemoteCommunicationServerLLGS.cpp", |
| 43 |
"GDBRemoteCommunicationServerPlatform.cpp", |
| 44 |
"GDBRemoteRegisterContext.cpp", |
| 45 |
"GDBRemoteRegisterFallback.cpp", |
| 46 |
"ProcessGDBRemote.cpp", |
| 47 |
"ProcessGDBRemoteLog.cpp", |
| 48 |
"ThreadGDBRemote.cpp", |
| 49 |
] |
| 50 |
} |