BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_package")
  15. load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
  16. grpc_package(name = "test/core/json")
  17. licenses(["notice"])
  18. grpc_fuzzer(
  19. name = "json_fuzzer",
  20. srcs = ["fuzzer.cc"],
  21. corpus = "corpus",
  22. language = "C++",
  23. tags = ["no_windows"],
  24. deps = [
  25. "//:gpr",
  26. "//:grpc",
  27. "//test/core/util:grpc_test_util",
  28. ],
  29. )
  30. grpc_cc_test(
  31. name = "json_test",
  32. srcs = ["json_test.cc"],
  33. external_deps = [
  34. "gtest",
  35. ],
  36. language = "C++",
  37. uses_polling = False,
  38. deps = [
  39. "//:gpr",
  40. "//:grpc",
  41. "//test/core/util:grpc_test_util",
  42. ],
  43. )