Skip to content

Commit

Permalink
Removing references to OpenSSL because OpenSSL references break `baze…
Browse files Browse the repository at this point in the history
…l query` for targets that rely on `boost.asio` due to the fact that OpenSSL is not in BCR yet.
  • Loading branch information
Matthew Young authored and zaucy committed Jun 11, 2024
1 parent 1551c0b commit 37ce34c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ load("@bazel_skylib//rules:write_file.bzl", "write_file")
string_flag(
name = "ssl",
visibility = ["//visibility:public"],
values = ["no_ssl", "openssl", "boringssl"],
values = ["no_ssl", "boringssl"], # OpenSSL not in BCR yet.
build_setting_default = "no_ssl",
)

config_setting(name = "no_ssl", flag_values = {":ssl": "no_ssl"})
config_setting(name = "openssl", flag_values = {":ssl": "openssl"})
config_setting(name = "boringssl", flag_values = {":ssl": "boringssl"})

write_file(
Expand Down Expand Up @@ -78,7 +77,6 @@ cc_library(
"@boost.type_traits",
"@boost.utility",
] + select({
":openssl": ["@openssl//:ssl"],
":boringssl": ["@boringssl//:ssl"],
":no_ssl": [],
}),
Expand Down

0 comments on commit 37ce34c

Please sign in to comment.