BUILD 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # Copyright 2017, Google Inc.
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms, with or without
  5. # modification, are permitted provided that the following conditions are
  6. # met:
  7. #
  8. # * Redistributions of source code must retain the above copyright
  9. # notice, this list of conditions and the following disclaimer.
  10. # * Redistributions in binary form must reproduce the above
  11. # copyright notice, this list of conditions and the following disclaimer
  12. # in the documentation and/or other materials provided with the
  13. # distribution.
  14. # * Neither the name of Google Inc. nor the names of its
  15. # contributors may be used to endorse or promote products derived from
  16. # this software without specific prior written permission.
  17. #
  18. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  22. # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  24. # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  25. # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  26. # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. licenses(["notice"]) # 3-clause BSD
  30. load("//bazel:grpc_build_system.bzl", "grpc_cc_library")
  31. package(default_visibility = ["//test:__subpackages__"])
  32. grpc_cc_library(
  33. name = "test_config",
  34. srcs = [
  35. "test_config_cc.cc",
  36. ],
  37. hdrs = [
  38. "test_config.h",
  39. ],
  40. external_deps = [
  41. "gflags",
  42. ],
  43. deps = [
  44. "//:gpr",
  45. ],
  46. )
  47. grpc_cc_library(
  48. name = "grpc++_proto_reflection_desc_db",
  49. srcs = [
  50. "proto_reflection_descriptor_database.cc",
  51. ],
  52. hdrs = [
  53. "proto_reflection_descriptor_database.h",
  54. ],
  55. deps = [
  56. "//:grpc++_config_proto",
  57. "//src/proto/grpc/reflection/v1alpha:reflection_proto",
  58. ],
  59. )
  60. grpc_cc_library(
  61. name = "test_util",
  62. srcs = [
  63. # "test/cpp/end2end/test_service_impl.cc",
  64. "byte_buffer_proto_helper.cc",
  65. "create_test_channel.cc",
  66. "string_ref_helper.cc",
  67. "subprocess.cc",
  68. "test_credentials_provider.cc",
  69. ],
  70. hdrs = [
  71. "byte_buffer_proto_helper.h",
  72. "create_test_channel.h",
  73. "string_ref_helper.h",
  74. "subprocess.h",
  75. "test_credentials_provider.h",
  76. ],
  77. deps = [
  78. "//:grpc++",
  79. "//test/core/end2end:ssl_test_data",
  80. "//test/core/util:gpr_test_util",
  81. ],
  82. )