xref: /aosp_15_r20/external/grpc-grpc/src/proto/grpc/testing/proto2/BUILD.bazel (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1# Copyright 2021 The 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.
14load("@rules_proto//proto:defs.bzl", "proto_library")
15load("//bazel:python_rules.bzl", "py_proto_library")
16
17package(default_visibility = ["//visibility:public"])
18
19proto_library(
20    name = "empty2_proto_descriptor",
21    srcs = ["empty2.proto"],
22)
23
24py_proto_library(
25    name = "empty2_proto",
26    deps = [":empty2_proto_descriptor"],
27)
28
29proto_library(
30    name = "empty2_extensions_proto_descriptor",
31    srcs = ["empty2_extensions.proto"],
32    deps = [
33        ":empty2_proto_descriptor",
34    ],
35)
36
37py_proto_library(
38    name = "empty2_extensions_proto",
39    deps = [":empty2_extensions_proto_descriptor"],
40)
41