1# Copyright 2017 gRPC authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15load("@rules_proto//proto:defs.bzl", "proto_library") 16load("//bazel:grpc_build_system.bzl", "grpc_package", "grpc_proto_library") 17 18licenses(["notice"]) 19 20grpc_package( 21 name = "lb", 22 visibility = "public", 23) 24 25grpc_proto_library( 26 name = "load_balancer_proto", 27 srcs = [ 28 "load_balancer.proto", 29 ], 30 well_known_protos = True, 31) 32 33proto_library( 34 name = "load_balancer_proto_descriptor", 35 srcs = ["load_balancer.proto"], 36 deps = [ 37 "@com_google_protobuf//:duration_proto", 38 "@com_google_protobuf//:timestamp_proto", 39 ], 40) 41 42grpc_proto_library( 43 name = "load_reporter_proto", 44 srcs = ["load_reporter.proto"], 45 has_services = True, 46 well_known_protos = True, 47) 48