Skip to content

Commit

Permalink
format Bazel files
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Mar 16, 2024
1 parent 0e9634b commit 1f05827
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
28 changes: 14 additions & 14 deletions google/cloud/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ cc_library(
],
"//conditions:default": [],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
],
"//conditions:default": [],
}),
target_compatible_with = select(
{
":enable_opentelemetry_valid": [],
Expand Down Expand Up @@ -120,14 +126,8 @@ to your build command, or set this value in your `.bazelrc` file(s).
}) + select({
"@platforms//os:windows": [],
"//conditions:default": [
"@boringssl//:crypto"
],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
"@boringssl//:crypto",
],
"//conditions:default": [],
}),
)

Expand Down Expand Up @@ -288,6 +288,13 @@ cc_library(
],
"//conditions:default": [],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
"-DEFAULTLIB:crypt32.lib",
],
"//conditions:default": [],
}),
visibility = ["//:__subpackages__"],
deps = [
":google_cloud_cpp_common",
Expand All @@ -302,13 +309,6 @@ cc_library(
"@boringssl//:ssl",
],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
"-DEFAULTLIB:crypt32.lib",
],
"//conditions:default": [],
}),
)

[cc_test(
Expand Down
12 changes: 6 additions & 6 deletions google/cloud/storage/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ cc_library(
"@platforms//os:windows": GOOGLE_CLOUD_STORAGE_WIN_DEFINES,
"//conditions:default": [],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
],
"//conditions:default": [],
}),
visibility = [
":__subpackages__",
"//:__pkg__",
Expand All @@ -131,12 +137,6 @@ cc_library(
"@boringssl//:ssl",
],
}),
linkopts = select({
"@platforms//os:windows": [
"-DEFAULTLIB:bcrypt.lib",
],
"//conditions:default": [],
}),
)

filegroup(
Expand Down

0 comments on commit 1f05827

Please sign in to comment.