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