Added defs in build files for building windows dll

PiperOrigin-RevId: 401062093
This commit is contained in:
jfcarroll
2021-10-05 13:23:17 -07:00
committed by Copybara-Service
parent 6269b8b60a
commit 679838223c
10 changed files with 14 additions and 21 deletions
+1
View File
@@ -41,6 +41,7 @@ cc_library(
"types.h",
],
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
"//analytics:__subpackages__",
+2 -19
View File
@@ -109,25 +109,8 @@ cc_library(
"wifi_lan_nsd.cc",
"wifi_lan_socket.cc",
],
hdrs = [
"bluetooth_classic.h",
"bluetooth_classic_device.h",
"bluetooth_classic_medium.h",
"bluetooth_classic_server_socket.h",
"bluetooth_classic_socket.h",
"condition_variable.h",
"executor.h",
"mutex.h",
"runner.h",
"scheduled_executor.h",
"submittable_executor.h",
"thread_pool.h",
"wifi_lan.h",
],
compatible_with = ["//buildenv/target:non_prod"],
copts = [
"-Ithird_party/nearby_connections/cpp/platform/impl/windows/generated",
],
copts = ["-Ithird_party/nearby_connections/cpp/platform/impl/windows/generated"],
visibility = [
"//third_party/nearby_connections/windows:__subpackages__",
],
@@ -176,7 +159,7 @@ cc_test(
"scheduled_executor_test.cc",
"submittable_executor_test.cc",
],
copts = ["-Iplatform/impl/windows/generated"],
copts = ["-Iplatform/impl/windows/generated -DCORE_ADAPTER_DLL"],
deps = [
":comm",
":crypto",
+3
View File
@@ -85,6 +85,7 @@ cc_library(
"wifi_lan.h",
],
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
"//core:__subpackages__",
@@ -110,6 +111,7 @@ cc_library(
"logging.h",
],
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//analytics:__subpackages__",
"//core:__subpackages__",
@@ -144,6 +146,7 @@ cc_test(
"single_thread_executor_test.cc",
"wifi_lan_test.cc",
],
copts = ["-DCORE_ADAPTER_DLL"],
shard_count = 16,
deps = [
":comm",