Home | History | Annotate | Download | only in utils
      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 package(
     16     default_visibility = ["//visibility:public"],
     17     features = [
     18         "-layering_check",
     19         "-parse_headers",
     20     ],
     21 )
     22 
     23 licenses(["notice"])  # Apache v2
     24 
     25 load("//bazel:grpc_build_system.bzl", "grpc_py_binary")
     26 
     27 grpc_py_binary(
     28   name = "dns_server",
     29   srcs = ["dns_server.py"],
     30   testonly = True,
     31   external_deps = [
     32       "twisted",
     33       "yaml",
     34   ]
     35 )
     36 
     37 grpc_py_binary(
     38   name = "dns_resolver",
     39   srcs = ["dns_resolver.py"],
     40   testonly = True,
     41   external_deps = [
     42       "twisted",
     43   ]
     44 )
     45 
     46 grpc_py_binary(
     47   name = "tcp_connect",
     48   srcs = ["tcp_connect.py"],
     49   testonly = True,
     50 )
     51