aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/remote_worker/BUILD
blob: ed5351d039ce8ee34f04640e259b447944aa5117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
filegroup(
    name = "srcs",
    srcs = glob(["**"]) + ["//src/tools/remote_worker/src/main/java/com/google/devtools/build/remote:srcs"],
    visibility = ["//src:__pkg__"],
)

java_binary(
    name = "remote_worker",
    jvm_flags = [
        # Enables REST for Hazelcast server for testing.
        "-Dhazelcast.rest.enabled=true",
        # Set this to the same function that you run Bazel with.
        "-Dbazel.DigestFunction=SHA1",
    ],
    main_class = "com.google.devtools.build.remote.RemoteWorker",
    visibility = ["//visibility:public"],
    runtime_deps = ["//src/tools/remote_worker/src/main/java/com/google/devtools/build/remote"],
)