BUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. load("//bazel:grpc_build_system.bzl", "grpc_py_binary")
  15. package(
  16. default_visibility = ["//visibility:public"],
  17. features = [
  18. "-layering_check",
  19. "-parse_headers",
  20. ],
  21. )
  22. licenses(["notice"])
  23. grpc_py_binary(
  24. name = "dns_server",
  25. testonly = True,
  26. srcs = ["dns_server.py"],
  27. external_deps = [
  28. "twisted",
  29. "yaml",
  30. ],
  31. )
  32. grpc_py_binary(
  33. name = "dns_resolver",
  34. testonly = True,
  35. srcs = ["dns_resolver.py"],
  36. external_deps = [
  37. "twisted",
  38. ],
  39. )
  40. grpc_py_binary(
  41. name = "tcp_connect",
  42. testonly = True,
  43. srcs = ["tcp_connect.py"],
  44. )