Skip to content

Commit

Permalink
tools: linked all extensions to router check binary (envoyproxy#22714)
Browse files Browse the repository at this point in the history
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
  • Loading branch information
code committed Aug 23, 2022
1 parent eaa674d commit c1971de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ package_group(
"//test/extensions/...",
"//test/server",
"//test/server/config_validation",
"//test/tools/schema_validator/...",
"//test/tools/...",
"//tools/extensions/...",
],
)
Expand Down
9 changes: 8 additions & 1 deletion test/tools/router_check/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ load(
"envoy_package",
"envoy_proto_library",
)
load("//source/extensions:all_extensions.bzl", "envoy_all_extensions")
load("//bazel:repositories.bzl", "PPC_SKIP_TARGETS", "WINDOWS_SKIP_TARGETS")

licenses(["notice"]) # Apache 2

Expand All @@ -13,7 +15,12 @@ envoy_package()
envoy_cc_test_binary(
name = "router_check_tool",
srcs = ["router_check.cc"],
deps = [":router_check_main_lib"],
deps = [":router_check_main_lib"] + select({
"//bazel:coverage_build": [],
"//bazel:windows_x86_64": envoy_all_extensions(WINDOWS_SKIP_TARGETS),
"//bazel:linux_ppc": envoy_all_extensions(PPC_SKIP_TARGETS),
"//conditions:default": envoy_all_extensions(),
}),
)

envoy_cc_test_library(
Expand Down

0 comments on commit c1971de

Please sign in to comment.