• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_compile_mclinker_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-NCSA
7    default_applicable_licenses: ["frameworks_compile_mclinker_license"],
8}
9
10cc_library_static {
11    name: "libmcldScript",
12    defaults: ["mcld-defaults"],
13    host_supported: true,
14    srcs: [
15        "AssertCmd.cpp",
16        "Assignment.cpp",
17        "BinaryOp.cpp",
18        "EntryCmd.cpp",
19        "FileToken.cpp",
20        "GroupCmd.cpp",
21        "InputCmd.cpp",
22        "InputSectDesc.cpp",
23        "InputToken.cpp",
24        "NameSpec.cpp",
25        "NullaryOp.cpp",
26        "Operand.cpp",
27        "Operator.cpp",
28        "OutputArchCmd.cpp",
29        "OutputCmd.cpp",
30        "OutputFormatCmd.cpp",
31        "OutputSectDesc.cpp",
32        "RpnEvaluator.cpp",
33        "RpnExpr.cpp",
34        "ScriptCommand.cpp",
35        "ScriptFile.cpp",
36        "ScriptReader.cpp",
37        "SearchDirCmd.cpp",
38        "SectionsCmd.cpp",
39        "ScriptScanner.ll",
40        "ScriptParser.yy",
41        "StrToken.cpp",
42        "StringList.cpp",
43        "TernaryOp.cpp",
44        "UnaryOp.cpp",
45        "WildcardPattern.cpp",
46    ],
47    include_dirs: ["frameworks/compile/mclinker/include/mcld/Script"],
48    header_libs: ["FlexLexer"],
49    yacc: {
50        gen_location_hh: true,
51        gen_position_hh: true,
52    },
53}
54