BUILD 1.7 KB

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