xref: /aosp_15_r20/external/grpc-grpc/src/proto/grpc/lookup/v1/BUILD (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1# Copyright 2020 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 = "src/proto/grpc/lookup/v1",
22    visibility = "public",
23)
24
25grpc_proto_library(
26    name = "rls_proto",
27    srcs = ["rls.proto"],
28    well_known_protos = True,
29)
30
31grpc_proto_library(
32    name = "rls_config_proto",
33    srcs = ["rls_config.proto"],
34    well_known_protos = True,
35)
36
37proto_library(
38    name = "rls_proto_descriptor",
39    srcs = ["rls.proto"],
40)
41
42proto_library(
43    name = "rls_config_proto_descriptor",
44    srcs = ["rls_config.proto"],
45    deps = [
46        "@com_google_protobuf//:duration_proto",
47    ],
48)
49