• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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
15licenses(["notice"])  # Apache v2
16
17load("@rules_proto//proto:defs.bzl", "proto_library")
18load("//bazel:grpc_build_system.bzl", "grpc_package", "grpc_proto_library")
19
20grpc_package(
21    name = "channelz",
22    visibility = "public",
23)
24
25grpc_proto_library(
26    name = "channelz_proto",
27    srcs = ["channelz.proto"],
28    has_services = True,
29    well_known_protos = True,
30)
31
32proto_library(
33    name = "channelz_proto_descriptors",
34    srcs = ["channelz.proto"],
35    deps = [
36        "@com_google_protobuf//:any_proto",
37        "@com_google_protobuf//:duration_proto",
38        "@com_google_protobuf//:timestamp_proto",
39        "@com_google_protobuf//:wrappers_proto",
40    ],
41)
42
43filegroup(
44    name = "channelz_proto_file",
45    srcs = [
46        "channelz.proto",
47    ],
48)
49