Skip to content

Commit c1971de

Browse files
author
code
authored
tools: linked all extensions to router check binary (envoyproxy#22714)
Signed-off-by: wbpcode <[email protected]>
1 parent eaa674d commit c1971de

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ package_group(
3232
"//test/extensions/...",
3333
"//test/server",
3434
"//test/server/config_validation",
35-
"//test/tools/schema_validator/...",
35+
"//test/tools/...",
3636
"//tools/extensions/...",
3737
],
3838
)

test/tools/router_check/BUILD

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ load(
55
"envoy_package",
66
"envoy_proto_library",
77
)
8+
load("//source/extensions:all_extensions.bzl", "envoy_all_extensions")
9+
load("//bazel:repositories.bzl", "PPC_SKIP_TARGETS", "WINDOWS_SKIP_TARGETS")
810

911
licenses(["notice"]) # Apache 2
1012

@@ -13,7 +15,12 @@ envoy_package()
1315
envoy_cc_test_binary(
1416
name = "router_check_tool",
1517
srcs = ["router_check.cc"],
16-
deps = [":router_check_main_lib"],
18+
deps = [":router_check_main_lib"] + select({
19+
"//bazel:coverage_build": [],
20+
"//bazel:windows_x86_64": envoy_all_extensions(WINDOWS_SKIP_TARGETS),
21+
"//bazel:linux_ppc": envoy_all_extensions(PPC_SKIP_TARGETS),
22+
"//conditions:default": envoy_all_extensions(),
23+
}),
1724
)
1825

1926
envoy_cc_test_library(

0 commit comments

Comments
 (0)