xref: /aosp_15_r20/external/jazzer-api/third_party/slicer.BUILD (revision 33edd6723662ea34453766bfdca85dbfdd5342b8)
1cc_library(
2    name = "jazzer_slicer",
3    srcs = [
4        "slicer/bytecode_encoder.cc",
5        "slicer/code_ir.cc",
6        "slicer/common.cc",
7        "slicer/control_flow_graph.cc",
8        "slicer/debuginfo_encoder.cc",
9        "slicer/dex_bytecode.cc",
10        "slicer/dex_format.cc",
11        "slicer/dex_ir.cc",
12        "slicer/dex_ir_builder.cc",
13        "slicer/dex_utf8.cc",
14        "slicer/instrumentation.cc",
15        "slicer/reader.cc",
16        "slicer/tryblocks_encoder.cc",
17        "slicer/writer.cc",
18    ],
19    hdrs = glob(["slicer/export/slicer/*.h"]),
20    copts = [
21        "-Wall",
22        "-Wno-sign-compare",
23        "-Wno-unused-parameter",
24        "-Wno-shift-count-overflow",
25        "-Wno-missing-braces",
26    ],
27    includes = ["slicer/export"],
28    visibility = [
29        "//visibility:public",
30    ],
31)
32