1cc_library_static {
2    name: "libmcldScript",
3    defaults: ["mcld-defaults"],
4    host_supported: true,
5    srcs: [
6        "AssertCmd.cpp",
7        "Assignment.cpp",
8        "BinaryOp.cpp",
9        "EntryCmd.cpp",
10        "FileToken.cpp",
11        "GroupCmd.cpp",
12        "InputCmd.cpp",
13        "InputSectDesc.cpp",
14        "InputToken.cpp",
15        "NameSpec.cpp",
16        "NullaryOp.cpp",
17        "Operand.cpp",
18        "Operator.cpp",
19        "OutputArchCmd.cpp",
20        "OutputCmd.cpp",
21        "OutputFormatCmd.cpp",
22        "OutputSectDesc.cpp",
23        "RpnEvaluator.cpp",
24        "RpnExpr.cpp",
25        "ScriptCommand.cpp",
26        "ScriptFile.cpp",
27        "ScriptReader.cpp",
28        "SearchDirCmd.cpp",
29        "SectionsCmd.cpp",
30        "ScriptScanner.ll",
31        "ScriptParser.yy",
32        "StrToken.cpp",
33        "StringList.cpp",
34        "TernaryOp.cpp",
35        "UnaryOp.cpp",
36        "WildcardPattern.cpp",
37    ],
38    include_dirs: ["frameworks/compile/mclinker/include/mcld/Script"],
39    header_libs: ["FlexLexer"],
40    yacc: {
41        gen_location_hh: true,
42        gen_position_hh: true,
43    },
44}
45