File: BUILD.gn

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,180 kB
  • sloc: cpp: 5,593,972; ansic: 986,872; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,538; xml: 953; cs: 573; fortran: 567
file content (95 lines) | stat: -rw-r--r-- 2,503 bytes parent folder | download | duplicates (3)
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",
  ]
}