Debian Codegraph @

test/core/end2end/fuzzers/BUILD

raw
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
15 load("//bazel:grpc_build_system.bzl", "grpc_package")
16 load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer", "grpc_proto_fuzzer")
17
18 grpc_package(name = "test/core/end2end/fuzzers")
19
20 licenses(["notice"])
21
22 grpc_proto_fuzzer(
23 name = "api_fuzzer",
24 size = "enormous",
25 srcs = ["api_fuzzer.cc"],
26 corpus = "api_fuzzer_corpus",
27 language = "C++",
28 proto = "api_fuzzer.proto",
29 proto_deps = [
30 "//test/core/event_engine/fuzzing_event_engine:fuzzing_event_engine_proto",
31 ],
32 tags = [
33 "no_mac",
34 "no_windows",
35 ],
36 uses_event_engine = False,
37 uses_polling = False,
38 deps = [
39 "//:gpr",
40 "//:grpc",
41 "//test/core/end2end:ssl_test_data",
42 "//test/core/event_engine/fuzzing_event_engine",
43 "//test/core/util:grpc_test_util",
44 "//test/core/util:grpc_test_util_base",
45 ],
46 )
47
48 grpc_fuzzer(
49 name = "client_fuzzer",
50 srcs = ["client_fuzzer.cc"],
51 corpus = "client_fuzzer_corpus",
52 language = "C++",
53 tags = ["no_windows"],
54 uses_event_engine = False,
55 uses_polling = False,
56 deps = [
57 "//:gpr",
58 "//:grpc",
59 "//test/core/util:grpc_test_util",
60 "//test/core/util:grpc_test_util_base",
61 ],
62 )
63
64 grpc_fuzzer(
65 name = "server_fuzzer",
66 srcs = ["server_fuzzer.cc"],
67 corpus = "server_fuzzer_corpus",
68 language = "C++",
69 tags = ["no_windows"],
70 uses_event_engine = False,
71 uses_polling = False,
72 deps = [
73 "//:gpr",
74 "//:grpc",
75 "//test/core/util:grpc_test_util",
76 "//test/core/util:grpc_test_util_base",
77 ],
78 )