| 1 |
import("//lldb/utils/TableGen/lldb_tablegen.gni") |
| 2 |
|
| 3 |
lldb_tablegen("InterpreterProperties") { |
| 4 |
args = [ "-gen-lldb-property-defs" ] |
| 5 |
} |
| 6 |
|
| 7 |
lldb_tablegen("InterpreterPropertiesEnum") { |
| 8 |
args = [ "-gen-lldb-property-enum-defs" ] |
| 9 |
td_file = "InterpreterProperties.td" |
| 10 |
} |
| 11 |
|
| 12 |
static_library("Interpreter") { |
| 13 |
output_name = "lldbInterpreter" |
| 14 |
configs += [ "//llvm/utils/gn/build:lldb_code" ] |
| 15 |
deps = [ |
| 16 |
":InterpreterProperties", |
| 17 |
":InterpreterPropertiesEnum", |
| 18 |
"//lldb/source/Commands", |
| 19 |
"//lldb/source/Core", |
| 20 |
"//lldb/source/DataFormatters", |
| 21 |
"//lldb/source/Host", |
| 22 |
|
| 23 |
#"//lldb/source/Target", # FIXME: 2-hop dependency cyle (Interpreter->Target->Expression->Interpreter) |
| 24 |
"//lldb/source/Utility", |
| 25 |
"//llvm/lib/Support", |
| 26 |
] |
| 27 |
|
| 28 |
# Reaches into source/Commands implementation details. |
| 29 |
include_dirs = [ ".." ] |
| 30 |
sources = [ |
| 31 |
"CommandAlias.cpp", |
| 32 |
"CommandHistory.cpp", |
| 33 |
"CommandInterpreter.cpp", |
| 34 |
"CommandObject.cpp", |
| 35 |
"CommandOptionValidators.cpp", |
| 36 |
"CommandReturnObject.cpp", |
| 37 |
"OptionArgParser.cpp", |
| 38 |
"OptionGroupArchitecture.cpp", |
| 39 |
"OptionGroupBoolean.cpp", |
| 40 |
"OptionGroupFile.cpp", |
| 41 |
"OptionGroupFormat.cpp", |
| 42 |
"OptionGroupMemoryTag.cpp", |
| 43 |
"OptionGroupOutputFile.cpp", |
| 44 |
"OptionGroupPlatform.cpp", |
| 45 |
"OptionGroupPythonClassWithDict.cpp", |
| 46 |
"OptionGroupString.cpp", |
| 47 |
"OptionGroupUInt64.cpp", |
| 48 |
"OptionGroupUUID.cpp", |
| 49 |
"OptionGroupValueObjectDisplay.cpp", |
| 50 |
"OptionGroupVariable.cpp", |
| 51 |
"OptionGroupWatchpoint.cpp", |
| 52 |
"OptionValue.cpp", |
| 53 |
"OptionValueArch.cpp", |
| 54 |
"OptionValueArgs.cpp", |
| 55 |
"OptionValueArray.cpp", |
| 56 |
"OptionValueBoolean.cpp", |
| 57 |
"OptionValueChar.cpp", |
| 58 |
"OptionValueDictionary.cpp", |
| 59 |
"OptionValueEnumeration.cpp", |
| 60 |
"OptionValueFileColonLine.cpp", |
| 61 |
"OptionValueFileSpec.cpp", |
| 62 |
"OptionValueFileSpecList.cpp", |
| 63 |
"OptionValueFormat.cpp", |
| 64 |
"OptionValueFormatEntity.cpp", |
| 65 |
"OptionValueLanguage.cpp", |
| 66 |
"OptionValuePathMappings.cpp", |
| 67 |
"OptionValueProperties.cpp", |
| 68 |
"OptionValueRegex.cpp", |
| 69 |
"OptionValueSInt64.cpp", |
| 70 |
"OptionValueString.cpp", |
| 71 |
"OptionValueUInt64.cpp", |
| 72 |
"OptionValueUUID.cpp", |
| 73 |
"Options.cpp", |
| 74 |
"Property.cpp", |
| 75 |
"ScriptInterpreter.cpp", |
| 76 |
] |
| 77 |
} |