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("//bazel:grpc_build_system.bzl", "grpc_py_binary") 16 17package( 18 default_visibility = ["//visibility:public"], 19 features = [ 20 "-layering_check", 21 "-parse_headers", 22 ], 23) 24 25licenses(["notice"]) 26 27grpc_py_binary( 28 name = "dns_server", 29 testonly = True, 30 srcs = ["dns_server.py"], 31 external_deps = [ 32 "twisted", 33 "yaml", 34 ], 35 python_version = "PY3", 36) 37 38grpc_py_binary( 39 name = "dns_resolver", 40 testonly = True, 41 srcs = ["dns_resolver.py"], 42 external_deps = [ 43 "twisted", 44 ], 45 python_version = "PY3", 46) 47 48grpc_py_binary( 49 name = "tcp_connect", 50 testonly = True, 51 srcs = ["tcp_connect.py"], 52 python_version = "PY3", 53) 54 55grpc_py_binary( 56 name = "health_check", 57 testonly = True, 58 srcs = ["health_check.py"], 59 python_version = "PY3", 60) 61