• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//:java_grpc_library.bzl", "java_grpc_library")
2
3java_library(
4    name = "grpclb",
5    srcs = glob([
6        "src/main/java/io/grpc/grpclb/*.java",
7    ]),
8    visibility = ["//visibility:public"],
9    deps = [
10        "//core",
11        "//core:internal",
12        "//core:util",
13        "//stub",
14        "@com_google_protobuf//:protobuf_java_util",
15        "@com_google_guava_guava//jar",
16        "@com_google_code_findbugs_jsr305//jar",
17        ":load_balancer_java_proto",
18        ":load_balancer_java_grpc",
19    ],
20)
21
22proto_library(
23    name = "load_balancer_proto",
24    srcs = ["src/main/proto/grpc/lb/v1/load_balancer.proto"],
25    deps = [
26        "@com_google_protobuf//:timestamp_proto",
27        "@com_google_protobuf//:duration_proto",
28    ],
29)
30
31java_proto_library(
32    name = "load_balancer_java_proto",
33    deps = [":load_balancer_proto"],
34)
35
36java_grpc_library(
37    name = "load_balancer_java_grpc",
38    srcs = [":load_balancer_proto"],
39    deps = [":load_balancer_java_proto"],
40)
41