• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_defaults {
2    name: "slicer_defaults",
3    srcs: [
4        "bytecode_encoder.cc",
5        "code_ir.cc",
6        "common.cc",
7        "control_flow_graph.cc",
8        "debuginfo_encoder.cc",
9        "dex_bytecode.cc",
10        "dex_format.cc",
11        "dex_ir.cc",
12        "dex_ir_builder.cc",
13        "dex_utf8.cc",
14        "instrumentation.cc",
15        "reader.cc",
16        "tryblocks_encoder.cc",
17        "writer.cc",
18    ],
19    export_include_dirs: ["export"],
20    device_supported: true,
21    shared_libs: ["libz"],
22    cflags: [
23        "-Wall",
24        "-Werror",
25        // TODO Remove these flags: b/65298177
26        "-Wno-sign-compare",
27        "-Wno-unused-parameter",
28        "-Wno-shift-count-overflow",
29        "-Wno-missing-braces",
30    ],
31}
32
33cc_library_static {
34    name: "slicer_ndk",
35    defaults: [
36        "slicer_defaults",
37    ],
38    host_supported: false,
39    sdk_version: "current",
40    stl: "libc++_static",
41    rtti: true,
42}
43
44cc_library {
45    name: "slicer",
46    defaults: [
47        "slicer_defaults",
48    ],
49    host_supported: true,
50    rtti: true,
51}
52
53cc_library_static {
54    name: "slicer_ndk_no_rtti",
55    defaults: [
56        "slicer_defaults",
57    ],
58    host_supported: false,
59    sdk_version: "current",
60    stl: "libc++_static",
61}
62
63cc_library {
64    name: "slicer_no_rtti",
65    defaults: [
66        "slicer_defaults",
67    ],
68    host_supported: true,
69}
70