Skip to content

Commit a299d3e

Browse files
rishesh007copybara-github
authored andcommitted
[build] Add Missing Dependencies for bm_client_call, call_spine_benchmarks, bm_call_spine, bad_ssl_test_server, bad_ssl_%s_server, close_fd_test in Preparation for Enabling layering_check
PiperOrigin-RevId: 797602411
1 parent 1557bd9 commit a299d3e

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

test/core/bad_connection/BUILD

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,28 @@ grpc_cc_binary(
2626
external_deps = [
2727
"absl/log:check",
2828
"absl/log:log",
29+
"absl/strings",
30+
"absl/strings:str_format",
31+
"absl/status:statusor",
2932
],
3033
tags = ["no_windows"],
3134
deps = [
35+
"//:channel",
36+
"//:channel_create",
37+
"//:channelz",
38+
"//:exec_ctx",
3239
"//:gpr",
3340
"//:grpc",
41+
"//:grpc_base",
42+
"//:grpc_transport_chttp2",
43+
"//:iomgr",
44+
"//:orphanable",
45+
"//:ref_counted_ptr",
3446
"//:server",
3547
"//src/core:channel_args",
48+
"//src/core:channel_stack_type",
49+
"//src/core:error",
50+
"//src/core:iomgr_port",
3651
"//test/core/test_util:grpc_test_util",
3752
],
3853
)

test/core/bad_ssl/generate_tests.bzl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,27 @@ def grpc_bad_ssl_tests():
4141
"//test/core/test_util:grpc_test_util",
4242
"//test/core/test_util:grpc_test_util_base",
4343
"//:grpc",
44+
"//:gpr",
4445
],
4546
)
4647
for t in BAD_SSL_TESTS:
4748
grpc_cc_binary(
4849
name = "bad_ssl_%s_server" % t,
4950
srcs = ["servers/%s.cc" % t],
50-
deps = [":bad_ssl_test_server"],
51+
external_deps = [
52+
"absl/log",
53+
"absl/log:check",
54+
],
55+
deps = [
56+
":bad_ssl_test_server",
57+
"//:alts_util",
58+
"//:gpr",
59+
"//:grpc_core_credentials_header",
60+
"//src/core:error",
61+
"//src/core:grpc_transport_chttp2_alpn",
62+
"//src/core:useful",
63+
"//test/core/test_util:grpc_test_util",
64+
],
5165
)
5266
grpc_cc_test(
5367
name = "bad_ssl_%s_test" % t,

test/core/call/BUILD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,15 @@ grpc_cc_benchmark(
9292
monitoring = HISTORY,
9393
deps = [
9494
"//:grpc",
95+
"//:grpc_base",
96+
"//src/core:all_ok",
97+
"//src/core:arena",
98+
"//src/core:call_arena_allocator",
9599
"//src/core:default_event_engine",
100+
"//src/core:event_engine_context",
101+
"//src/core:map",
102+
"//src/core:resource_quota",
103+
"//src/core:slice",
96104
],
97105
)
98106

@@ -201,9 +209,11 @@ grpc_cc_library(
201209
visibility = ["//test/core:__subpackages__"],
202210
deps = [
203211
"//:exec_ctx",
212+
"//:grpc_base",
204213
"//src/core:all_ok",
205214
"//src/core:call_spine",
206215
"//src/core:default_event_engine",
216+
"//src/core:event_engine_context",
207217
"//src/core:map",
208218
"//src/core:notification",
209219
"//src/core:resource_quota",
@@ -216,8 +226,10 @@ grpc_cc_benchmark(
216226
monitoring = HISTORY,
217227
deps = [
218228
":call_spine_benchmarks",
229+
"//:gpr",
219230
"//:grpc",
220231
"//src/core:default_event_engine",
232+
"//src/core:resource_quota",
221233
],
222234
)
223235

0 commit comments

Comments
 (0)