• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// =====================================================
2// Static library: libmcldLD
3// =====================================================
4
5cc_library_static {
6    name: "libmcldLD",
7    defaults: ["mcld-defaults"],
8    host_supported: true,
9
10    srcs: [
11        "Archive.cpp",
12        "ArchiveReader.cpp",
13        "BranchIsland.cpp",
14        "BranchIslandFactory.cpp",
15        "BinaryReader.cpp",
16        "DWARFLineInfo.cpp",
17        "Diagnostic.cpp",
18        "DiagnosticEngine.cpp",
19        "DiagnosticInfos.cpp",
20        "DiagnosticLineInfo.cpp",
21        "DiagnosticPrinter.cpp",
22        "DebugString.cpp",
23        "DynObjReader.cpp",
24        "ELFBinaryReader.cpp",
25        "ELFSegment.cpp",
26        "ELFSegmentFactory.cpp",
27        "EhFrame.cpp",
28        "EhFrameHdr.cpp",
29        "EhFrameReader.cpp",
30        "GarbageCollection.cpp",
31        "GroupReader.cpp",
32        "IdenticalCodeFolding.cpp",
33        "LDContext.cpp",
34        "LDFileFormat.cpp",
35        "LDReader.cpp",
36        "LDSection.cpp",
37        "LDSymbol.cpp",
38        "MergedStringTable.cpp",
39        "MsgHandler.cpp",
40        "NamePool.cpp",
41        "ObjectWriter.cpp",
42        "RelocData.cpp",
43        "RelocationFactory.cpp",
44        "Relocator.cpp",
45        "ResolveInfo.cpp",
46        "Resolver.cpp",
47        "SectionData.cpp",
48        "SectionSymbolSet.cpp",
49        "StaticResolver.cpp",
50        "StubFactory.cpp",
51        "TextDiagnosticPrinter.cpp",
52    ],
53
54    static_libs: ["libz"],
55}
56
57// =====================================================
58// Static library: libmcldLDVariant
59// =====================================================
60
61cc_library_static {
62    name: "libmcldLDVariant",
63    defaults: ["mcld-defaults"],
64    host_supported: true,
65
66    srcs: [
67        "BSDArchiveReader.cpp",
68        "GNUArchiveReader.cpp",
69        "ELFDynObjFileFormat.cpp",
70        "ELFDynObjReader.cpp",
71        "ELFExecFileFormat.cpp",
72        "ELFFileFormat.cpp",
73        "ELFObjectReader.cpp",
74        "ELFObjectWriter.cpp",
75        "ELFReader.cpp",
76        "ELFReaderIf.cpp",
77    ],
78}
79