1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
import("//lldb/utils/TableGen/lldb_tablegen.gni")
lldb_tablegen("CoreProperties") {
args = [ "-gen-lldb-property-defs" ]
}
lldb_tablegen("CorePropertiesEnum") {
args = [ "-gen-lldb-property-enum-defs" ]
td_file = "CoreProperties.td"
}
static_library("Core") {
output_name = "lldbCore"
configs += [
"//llvm/utils/gn/build:clang_code",
"//llvm/utils/gn/build:lldb_code",
]
deps = [
":CoreProperties",
":CorePropertiesEnum",
"//clang/lib/Driver",
#"//lldb/source/Breakpoint", # Dependency cycle.
#"//lldb/source/DataFormatters", # Dependency cycle.
#"//lldb/source/Expression", # Dependency cycle.
"//lldb/source/Host",
#"//lldb/source/Interpreter", # Dependency cycle.
#"//lldb/source/Symbol", # Dependency cycle.
#"//lldb/source/Target", # Dependency cycle.
"//lldb/source/Utility",
"//llvm/lib/Demangle",
"//llvm/lib/Support",
#"//lldb/source/Plugins/Language/CPlusPlus", # 3-hop dependency cycle.
#"//lldb/source/Plugins/Language/ObjC", # Many-hop dependency cycle.
# FIXME:
# ${LLDB_CURSES_LIBS}
]
# FIXME: Link curses, libedit if needed.
include_dirs = [ ".." ]
sources = [
"Address.cpp",
"AddressRange.cpp",
"AddressResolver.cpp",
"AddressResolverFileLine.cpp",
"Communication.cpp",
"DataFileCache.cpp",
"Debugger.cpp",
"Declaration.cpp",
"Disassembler.cpp",
"DumpDataExtractor.cpp",
"DumpRegisterValue.cpp",
"DynamicLoader.cpp",
"EmulateInstruction.cpp",
"FileLineResolver.cpp",
"FileSpecList.cpp",
"FormatEntity.cpp",
"Highlighter.cpp",
"IOHandler.cpp",
"IOHandlerCursesGUI.cpp",
"Mangled.cpp",
"Module.cpp",
"ModuleChild.cpp",
"ModuleList.cpp",
"Opcode.cpp",
"PluginManager.cpp",
"Progress.cpp",
"RichManglingContext.cpp",
"SearchFilter.cpp",
"Section.cpp",
"SourceLocationSpec.cpp",
"SourceManager.cpp",
"StreamAsynchronousIO.cpp",
"StreamFile.cpp",
"UserSettingsController.cpp",
"Value.cpp",
"ValueObject.cpp",
"ValueObjectCast.cpp",
"ValueObjectChild.cpp",
"ValueObjectConstResult.cpp",
"ValueObjectConstResultCast.cpp",
"ValueObjectConstResultChild.cpp",
"ValueObjectConstResultImpl.cpp",
"ValueObjectDynamicValue.cpp",
"ValueObjectList.cpp",
"ValueObjectMemory.cpp",
"ValueObjectRegister.cpp",
"ValueObjectSyntheticFilter.cpp",
"ValueObjectUpdater.cpp",
"ValueObjectVariable.cpp",
]
}
|