aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/code_intelligence/jazzer/mutation/annotation/proto/BUILD.bazel
blob: 8ef6863b514692be50adb5065fd48040a68cea5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
java_library(
    name = "proto",
    srcs = glob(["*.java"]),
    visibility = ["//visibility:public"],
    deps = [
        ":protobuf_runtime_compile_only",
        "//src/main/java/com/code_intelligence/jazzer/mutation/annotation",
    ],
)

java_library(
    name = "protobuf_runtime_compile_only",
    # The proto mutator factory detects the presence of Protobuf at runtime and disables itself if
    # it isn't found. Without something else bringing in the Protobuf runtime, there is no point in
    # supporting proto mutations.
    neverlink = True,
    visibility = ["//src/main/java/com/code_intelligence/jazzer/mutation/mutator/proto:__pkg__"],
    exports = [
        "@com_google_protobuf_protobuf_java//jar",
    ],
)