BUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_cc_test", "grpc_py_binary")
  15. load(":generate_resolver_component_tests.bzl", "generate_resolver_component_tests")
  16. package(
  17. default_visibility = ["//visibility:public"],
  18. features = [
  19. "-layering_check",
  20. "-parse_headers",
  21. ],
  22. )
  23. licenses(["notice"])
  24. # Meant to be invoked only through the top-level shell script driver.
  25. grpc_py_binary(
  26. name = "resolver_component_tests_runner",
  27. testonly = True,
  28. srcs = [
  29. "resolver_component_tests_runner.py",
  30. ],
  31. )
  32. grpc_cc_test(
  33. name = "cancel_ares_query_test",
  34. srcs = ["cancel_ares_query_test.cc"],
  35. external_deps = ["gtest"],
  36. deps = [
  37. "//:gpr",
  38. "//:grpc",
  39. "//:grpc++",
  40. "//test/core/end2end:cq_verifier",
  41. "//test/core/util:fake_udp_and_tcp_server",
  42. "//test/core/util:grpc_test_util",
  43. "//test/cpp/util:test_config",
  44. "//test/cpp/util:test_util",
  45. ],
  46. )
  47. generate_resolver_component_tests()