BUILD 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Copyright 2016 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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
  15. grpc_package(name = "test/core/end2end/fuzzers")
  16. licenses(["notice"]) # Apache v2
  17. load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
  18. grpc_fuzzer(
  19. name = "api_fuzzer",
  20. size = "enormous",
  21. timeout = "eternal",
  22. srcs = ["api_fuzzer.cc"],
  23. corpus = "api_fuzzer_corpus",
  24. language = "C++",
  25. tags = ["no_windows"],
  26. deps = [
  27. "//:gpr",
  28. "//:grpc",
  29. "//test/core/end2end:ssl_test_data",
  30. "//test/core/util:grpc_test_util",
  31. ],
  32. )
  33. grpc_fuzzer(
  34. name = "client_fuzzer",
  35. srcs = ["client_fuzzer.cc"],
  36. corpus = "client_fuzzer_corpus",
  37. language = "C++",
  38. tags = ["no_windows"],
  39. deps = [
  40. "//:gpr",
  41. "//:grpc",
  42. "//test/core/util:grpc_test_util",
  43. ],
  44. )
  45. grpc_fuzzer(
  46. name = "server_fuzzer",
  47. srcs = ["server_fuzzer.cc"],
  48. corpus = "server_fuzzer_corpus",
  49. language = "C++",
  50. tags = ["no_windows"],
  51. deps = [
  52. "//:gpr",
  53. "//:grpc",
  54. "//test/core/util:grpc_test_util",
  55. ],
  56. )