| 1 |
import("//lldb/utils/TableGen/lldb_tablegen.gni") |
| 2 |
|
| 3 |
lldb_tablegen("CommandOptions") { |
| 4 |
args = [ "-gen-lldb-option-defs" ] |
| 5 |
td_file = "Options.td" # FIXME: rename? |
| 6 |
} |
| 7 |
|
| 8 |
static_library("Commands") { |
| 9 |
output_name = "lldbCommands" |
| 10 |
configs += [ |
| 11 |
"//llvm/utils/gn/build:clang_code", |
| 12 |
"//llvm/utils/gn/build:lldb_code", |
| 13 |
] |
| 14 |
deps = [ |
| 15 |
":CommandOptions", |
| 16 |
"//llvm/lib/Support", |
| 17 |
|
| 18 |
#"//lldb/source/Breakpoint", # FIXME: many-hop dependency cycle. |
| 19 |
"//lldb/source/Core", |
| 20 |
"//lldb/source/DataFormatters", |
| 21 |
|
| 22 |
#"//lldb/source/Expression", # FIXME: 2-hop dependency cycle. |
| 23 |
"//lldb/source/Host", |
| 24 |
|
| 25 |
#"//lldb/source/Interpreter", # FIXME: Dependency cycle. |
| 26 |
#"//lldb/source/Symbol", # FIXME: many-hop dependency cycle. |
| 27 |
#"//lldb/source/Target", # FIXME: 2-hop dependency cycle. |
| 28 |
"//lldb/source/Utility", |
| 29 |
"//lldb/source/Version", |
| 30 |
] |
| 31 |
sources = [ |
| 32 |
"CommandCompletions.cpp", |
| 33 |
"CommandObjectApropos.cpp", |
| 34 |
"CommandObjectBreakpoint.cpp", |
| 35 |
"CommandObjectBreakpointCommand.cpp", |
| 36 |
"CommandObjectCommands.cpp", |
| 37 |
"CommandObjectDWIMPrint.cpp", |
| 38 |
"CommandObjectDiagnostics.cpp", |
| 39 |
"CommandObjectDisassemble.cpp", |
| 40 |
"CommandObjectExpression.cpp", |
| 41 |
"CommandObjectFrame.cpp", |
| 42 |
"CommandObjectGUI.cpp", |
| 43 |
"CommandObjectHelp.cpp", |
| 44 |
"CommandObjectLanguage.cpp", |
| 45 |
"CommandObjectLog.cpp", |
| 46 |
"CommandObjectMemory.cpp", |
| 47 |
"CommandObjectMemoryTag.cpp", |
| 48 |
"CommandObjectMultiword.cpp", |
| 49 |
"CommandObjectPlatform.cpp", |
| 50 |
"CommandObjectPlugin.cpp", |
| 51 |
"CommandObjectProcess.cpp", |
| 52 |
"CommandObjectQuit.cpp", |
| 53 |
"CommandObjectRegexCommand.cpp", |
| 54 |
"CommandObjectRegister.cpp", |
| 55 |
"CommandObjectScripting.cpp", |
| 56 |
"CommandObjectSession.cpp", |
| 57 |
"CommandObjectSettings.cpp", |
| 58 |
"CommandObjectSource.cpp", |
| 59 |
"CommandObjectStats.cpp", |
| 60 |
"CommandObjectTarget.cpp", |
| 61 |
"CommandObjectThread.cpp", |
| 62 |
"CommandObjectThreadUtil.cpp", |
| 63 |
"CommandObjectTrace.cpp", |
| 64 |
"CommandObjectType.cpp", |
| 65 |
"CommandObjectVersion.cpp", |
| 66 |
"CommandObjectWatchpoint.cpp", |
| 67 |
"CommandObjectWatchpointCommand.cpp", |
| 68 |
"CommandOptionArgumentTable.cpp", |
| 69 |
"CommandOptionsProcessAttach.cpp", |
| 70 |
"CommandOptionsProcessLaunch.cpp", |
| 71 |
] |
| 72 |
} |