Debian Codegraph @

test/core/fling/BUILD

raw
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
15 load("//bazel:grpc_build_system.bzl", "grpc_cc_binary", "grpc_cc_test", "grpc_package")
16
17 grpc_package(name = "test/core/fling")
18
19 licenses(["notice"])
20
21 grpc_cc_binary(
22 name = "fling_client",
23 testonly = 1,
24 srcs = ["client.cc"],
25 language = "C++",
26 deps = [
27 "//:gpr",
28 "//:grpc",
29 "//test/core/end2end:ssl_test_data",
30 "//test/core/util:grpc_test_util",
31 "//test/core/util:grpc_test_util_base",
32 ],
33 )
34
35 grpc_cc_binary(
36 name = "fling_server",
37 testonly = 1,
38 srcs = ["server.cc"],
39 language = "C++",
40 deps = [
41 "//:gpr",
42 "//:grpc",
43 "//test/core/end2end:ssl_test_data",
44 "//test/core/util:grpc_test_util",
45 "//test/core/util:grpc_test_util_base",
46 ],
47 )
48
49 grpc_cc_test(
50 name = "fling_test",
51 srcs = ["fling_test.cc"],
52 data = [
53 ":fling_client",
54 ":fling_server",
55 ],
56 tags = [
57 "no_windows",
58 "requires-net:ipv4",
59 "requires-net:loopback",
60 ],
61 deps = [
62 "//:gpr",
63 "//:grpc",
64 "//test/core/end2end:ssl_test_data",
65 "//test/core/util:grpc_test_util",
66 "//test/core/util:grpc_test_util_base",
67 ],
68 )
69
70 grpc_cc_test(
71 name = "fling_stream_test",
72 srcs = ["fling_stream_test.cc"],
73 data = [
74 ":fling_client",
75 ":fling_server",
76 ],
77 tags = [
78 "no_windows",
79 "requires-net:ipv4",
80 "requires-net:loopback",
81 ],
82 deps = [
83 "//:gpr",
84 "//:grpc",
85 "//test/core/end2end:ssl_test_data",
86 "//test/core/util:grpc_test_util",
87 "//test/core/util:grpc_test_util_base",
88 ],
89 )