Skip to content

Commit 5106a2a

Browse files
authored
[Build] Fix use_openssl=true (grpc#39380)
Fixed the bug in Bazel Tests passing the parameter incorrectly when enabling `third_party:use_openssl`. (Introduced from grpc#39188)
1 parent dc50f58 commit 5106a2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.bcr/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tasks:
3838
build_flags:
3939
- '--cxxopt=-std=c++17'
4040
- '--host_cxxopt=-std=c++17'
41-
- '--//third_party:use_openssl=true'
41+
- '--define=@grpc//third_party:use_openssl=true'
4242
build_targets:
4343
- "@grpc//:grpc"
4444
- "@grpc//:grpc_unsecure"

tools/bazelify_tests/test/bazel_build_with_bzlmod_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tools/bazel \
5353
--enable_bzlmod=true \
5454
--enable_workspace=false \
5555
--ignore_dev_dependency \
56-
--//third_party:grpc_use_openssl=true \
56+
--define=//third_party:grpc_use_openssl=true \
5757
-- \
5858
:all \
5959
-:grpcpp_csm_observability # Needs google_cloud_cpp to be added to BCR

0 commit comments

Comments
 (0)