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