mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Added defs in build files for building windows dll
PiperOrigin-RevId: 401062093
This commit is contained in:
committed by
Copybara-Service
parent
6269b8b60a
commit
679838223c
@@ -22,6 +22,7 @@ cc_library(
|
||||
"analytics_recorder.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//core:__subpackages__",
|
||||
"//proto/analytics:__subpackages__",
|
||||
|
||||
@@ -22,6 +22,7 @@ cc_library(
|
||||
"core.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
|
||||
"//third_party/nearby_connections/windows:__subpackages__",
|
||||
@@ -53,6 +54,7 @@ cc_library(
|
||||
"strategy.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
|
||||
"//analytics:__subpackages__",
|
||||
|
||||
@@ -84,6 +84,7 @@ cc_library(
|
||||
"wifi_lan_service_info.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//core:__pkg__",
|
||||
"//core/internal/fuzzers:__pkg__",
|
||||
|
||||
@@ -19,6 +19,7 @@ cc_fuzz_target(
|
||||
name = "offline_frames_fuzzer",
|
||||
srcs = ["offline_frames_fuzzer.cc"],
|
||||
componentid = 148515,
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
deps = [
|
||||
"//security/fuzzing/blaze:default_init_google_for_cc_fuzz_target",
|
||||
"//core/internal",
|
||||
|
||||
@@ -30,6 +30,7 @@ cc_library(
|
||||
"discovered_peripheral_callback.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//core/internal:__subpackages__",
|
||||
],
|
||||
|
||||
@@ -32,6 +32,7 @@ cc_library(
|
||||
"webrtc_socket_wrapper.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
visibility = [
|
||||
"//core/internal:__subpackages__",
|
||||
],
|
||||
|
||||
@@ -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__",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user