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 15 licenses(["notice"]) # Apache v2 16 17 load("//bazel:grpc_build_system.bzl", "grpc_package", "grpc_proto_library") 18 19 grpc_package( 20 name = "lb", 21 visibility = "public", 22 ) 23 24 grpc_proto_library( 25 name = "load_balancer_proto", 26 srcs = [ 27 "load_balancer.proto", 28 ], 29 well_known_protos = True, 30 ) 31 32 grpc_proto_library( 33 name = "load_reporter_proto", 34 srcs = ["load_reporter.proto"], 35 has_services = True, 36 well_known_protos = True, 37 ) 38