Expose internal/platform windows implementation to presence and add bcrypt.lib for resolving bcrypt symbols in absl

PiperOrigin-RevId: 507834078
This commit is contained in:
Anay Wadhera
2023-02-07 11:13:38 -08:00
committed by Copybara-Service
parent 778af635ec
commit dc8b1ef7ee
3 changed files with 12 additions and 4 deletions
@@ -168,6 +168,7 @@ cc_library(
"//connections:__subpackages__",
"//fastpair:__subpackages__",
"//location/nearby:__subpackages__",
"//presence:__subpackages__",
],
deps = [
":comm",
@@ -18,6 +18,7 @@ cc_library(
linkopts = [
"wininet.lib",
"advapi32.lib",
"bcrypt.lib",
"comdlg32.lib",
"gdi32.lib",
"kernel32.lib",
+10 -4
View File
@@ -41,14 +41,20 @@ cc_test(
shard_count = 16,
deps = [
":mediums",
"@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
"@com_google_googletest//:gtest_main",
"//internal/platform:comm",
"//internal/platform:test_util",
"//internal/platform:types",
"//internal/platform:uuid",
"//internal/platform/implementation:comm",
"//internal/platform/implementation/g3", # build_cleaner: keep
"//presence:types",
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
],
] + select({
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
"//internal/platform/implementation/g3",
],
}),
)