mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Internal Flow change for BUILD.
PiperOrigin-RevId: 424991730
This commit is contained in:
+38
-38
@@ -36,16 +36,16 @@ cc_library(
|
||||
deps = [
|
||||
"//base",
|
||||
"//base:stringprintf",
|
||||
"//absl/base:core_headers",
|
||||
"//absl/synchronization",
|
||||
"//absl/time",
|
||||
"//platform/api:platform",
|
||||
"//platform/api:types",
|
||||
"//platform/base",
|
||||
"//platform/base:util",
|
||||
"//platform/impl/shared:count_down_latch",
|
||||
"//platform/impl/shared:posix_mutex",
|
||||
"//thread",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base",
|
||||
"//cpp/platform/base:util",
|
||||
"//cpp/platform/impl/shared:count_down_latch",
|
||||
"//cpp/platform/impl/shared:posix_mutex",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
"@com_google_absl//absl/time",
|
||||
"@com_google_nisaba//nisaba/port:thread_pool",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -69,18 +69,18 @@ cc_library(
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
":types",
|
||||
"//absl/base:core_headers",
|
||||
"//absl/container:flat_hash_map",
|
||||
"//absl/container:flat_hash_set",
|
||||
"//absl/strings",
|
||||
"//absl/strings:str_format",
|
||||
"//absl/synchronization",
|
||||
"//platform/api:comm",
|
||||
"//platform/base",
|
||||
"//platform/base:cancellation_flag",
|
||||
"//platform/base:logging",
|
||||
"//platform/base:test_util",
|
||||
"//platform/impl/shared:count_down_latch",
|
||||
"//cpp/platform/api:comm",
|
||||
"//cpp/platform/base",
|
||||
"//cpp/platform/base:cancellation_flag",
|
||||
"//cpp/platform/base:logging",
|
||||
"//cpp/platform/base:test_util",
|
||||
"//cpp/platform/impl/shared:count_down_latch",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/container:flat_hash_map",
|
||||
"@com_google_absl//absl/container:flat_hash_set",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
"//webrtc/api:create_peerconnection_factory", #buildcleaner: keep
|
||||
"//webrtc/api:libjingle_peerconnection_api",
|
||||
"//webrtc/api/task_queue:default_task_queue_factory",
|
||||
@@ -95,10 +95,10 @@ cc_library(
|
||||
],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//absl/strings",
|
||||
"//platform/api:types",
|
||||
"//platform/base",
|
||||
"//openssl:crypto",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@boringssl//:crypto",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -109,8 +109,8 @@ cc_library(
|
||||
"platform.cc",
|
||||
],
|
||||
visibility = [
|
||||
"//core:__subpackages__",
|
||||
"//platform:__subpackages__",
|
||||
"//cpp/core:__subpackages__",
|
||||
"//cpp/platform:__subpackages__",
|
||||
"//internal/analytics:__subpackages__",
|
||||
"//internal/proto/analytics:__subpackages__",
|
||||
],
|
||||
@@ -118,15 +118,15 @@ cc_library(
|
||||
":comm",
|
||||
":crypto", # build_cleaner: keep
|
||||
":types",
|
||||
"//absl/base:core_headers",
|
||||
"//absl/memory",
|
||||
"//absl/strings",
|
||||
"//absl/time",
|
||||
"//platform/api:comm",
|
||||
"//platform/api:platform",
|
||||
"//platform/api:types",
|
||||
"//platform/base:test_util",
|
||||
"//platform/impl/shared:count_down_latch",
|
||||
"//platform/impl/shared:file",
|
||||
"//cpp/platform/api:comm",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base:test_util",
|
||||
"//cpp/platform/impl/shared:count_down_latch",
|
||||
"//cpp/platform/impl/shared:file",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/memory",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/time",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -42,12 +42,12 @@ objc_library(
|
||||
"Source/Internal/GNCUtils.h",
|
||||
],
|
||||
deps = [
|
||||
"//absl/functional:bind_front",
|
||||
"//core",
|
||||
"//core:core_types",
|
||||
"//platform/impl/ios/Source/Mediums",
|
||||
"//platform/impl/ios/Source/Platform",
|
||||
"//platform/impl/ios/Source/Shared",
|
||||
"//cpp/core",
|
||||
"//cpp/core:core_types",
|
||||
"//cpp/platform/impl/ios/Source/Mediums",
|
||||
"//cpp/platform/impl/ios/Source/Platform",
|
||||
"//cpp/platform/impl/ios/Source/Shared",
|
||||
"@com_google_absl//absl/functional:bind_front",
|
||||
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -15,7 +15,7 @@ load("//tools/build_defs/apple:objc.bzl", "objc_proto_library")
|
||||
# limitations under the License.
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//platform/impl/ios:__subpackages__"])
|
||||
package(default_visibility = ["//cpp/platform/impl/ios:__subpackages__"])
|
||||
|
||||
objc_library(
|
||||
name = "Mediums",
|
||||
@@ -37,8 +37,8 @@ objc_library(
|
||||
],
|
||||
deps = [
|
||||
":ObjCProtos",
|
||||
"//absl/numeric:int128",
|
||||
"//platform/impl/ios/Source/Shared",
|
||||
"//cpp/platform/impl/ios/Source/Shared",
|
||||
"@com_google_absl//absl/numeric:int128",
|
||||
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//platform/impl/ios:__subpackages__"])
|
||||
package(default_visibility = ["//cpp/platform/impl/ios:__subpackages__"])
|
||||
|
||||
objc_library(
|
||||
name = "Platform",
|
||||
@@ -41,11 +41,11 @@ objc_library(
|
||||
],
|
||||
deps = [
|
||||
":Platform_cc",
|
||||
"//platform/api:platform",
|
||||
"//platform/api:types",
|
||||
"//platform/impl/ios/Source/Mediums",
|
||||
"//platform/impl/ios/Source/Shared",
|
||||
"//platform/impl/shared:file",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/impl/ios/Source/Mediums",
|
||||
"//cpp/platform/impl/ios/Source/Shared",
|
||||
"//cpp/platform/impl/shared:file",
|
||||
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
|
||||
],
|
||||
)
|
||||
@@ -65,11 +65,11 @@ cc_library(
|
||||
"mutex.h",
|
||||
],
|
||||
deps = [
|
||||
"//absl/strings:str_format",
|
||||
"//absl/synchronization",
|
||||
"//absl/time",
|
||||
"//platform/api:platform",
|
||||
"//platform/api:types",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/api:types",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
"@com_google_absl//absl/time",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -85,9 +85,9 @@ cc_test(
|
||||
shard_count = 16,
|
||||
deps = [
|
||||
":Platform_cc",
|
||||
"//testing/base/public:gunit_main",
|
||||
"//absl/synchronization",
|
||||
"//absl/time",
|
||||
"//thread/fiber",
|
||||
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
"@com_google_absl//absl/time",
|
||||
"@com_google_nisaba//nisaba/port:thread_pool/fiber",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//platform/impl/ios:__subpackages__"])
|
||||
package(default_visibility = ["//cpp/platform/impl/ios:__subpackages__"])
|
||||
|
||||
objc_library(
|
||||
name = "Shared",
|
||||
@@ -25,6 +25,6 @@ objc_library(
|
||||
],
|
||||
deps = [
|
||||
"//third_party/objective_c/google_toolbox_for_mac:GTM_StringEncoding",
|
||||
"//smhasher:libmurmur3",
|
||||
"@aappleby_smhasher//:libmurmur3",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -28,7 +28,7 @@ objc_library(
|
||||
"Platform/GNCSingleThreadExecutorTest.mm",
|
||||
],
|
||||
deps = [
|
||||
"//platform/impl/ios:Connections",
|
||||
"//cpp/platform/impl/ios:Connections",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -48,8 +48,8 @@ objc_library(
|
||||
"Shared/GNCUtilsTest.mm",
|
||||
],
|
||||
deps = [
|
||||
"//platform/impl/ios/Source/Platform",
|
||||
"//platform/impl/ios/Source/Shared",
|
||||
"//cpp/platform/impl/ios/Source/Platform",
|
||||
"//cpp/platform/impl/ios/Source/Shared",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -21,11 +21,10 @@ cc_library(
|
||||
hdrs = [
|
||||
"posix_mutex.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = [
|
||||
"//platform/impl:__subpackages__",
|
||||
"//cpp/platform/impl:__subpackages__",
|
||||
],
|
||||
deps = ["//platform/api:types"],
|
||||
deps = ["//cpp/platform/api:types"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
@@ -36,10 +35,9 @@ cc_library(
|
||||
hdrs = [
|
||||
"posix_condition_variable.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
deps = [
|
||||
":posix_mutex",
|
||||
"//platform/api:types",
|
||||
"//cpp/platform/api:types",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -47,14 +45,13 @@ cc_library(
|
||||
name = "file",
|
||||
srcs = ["file.cc"],
|
||||
hdrs = ["file.h"],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = [
|
||||
"//platform/impl:__subpackages__",
|
||||
"//cpp/platform/impl:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//absl/strings",
|
||||
"//platform/api:types",
|
||||
"//platform/base",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base",
|
||||
"@com_google_absl//absl/strings",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -62,17 +59,16 @@ cc_library(
|
||||
name = "count_down_latch",
|
||||
srcs = ["count_down_latch.cc"],
|
||||
hdrs = ["count_down_latch.h"],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = [
|
||||
"//cpp/platform/impl:__subpackages__",
|
||||
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
|
||||
"//platform/impl:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//absl/base:core_headers",
|
||||
"//absl/strings",
|
||||
"//absl/synchronization",
|
||||
"//absl/time",
|
||||
"//platform/api:types",
|
||||
"//cpp/platform/api:types",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
"@com_google_absl//absl/time",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -81,9 +77,9 @@ cc_test(
|
||||
srcs = ["file_test.cc"],
|
||||
deps = [
|
||||
":file",
|
||||
"//cpp/platform/base",
|
||||
"//file/util:temp_path",
|
||||
"//testing/base/public:gunit_main",
|
||||
"//absl/strings",
|
||||
"//platform/base",
|
||||
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
|
||||
"@com_google_absl//absl/strings",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -36,12 +36,11 @@ cc_library(
|
||||
"submittable_executor.h",
|
||||
"utils.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
deps = [
|
||||
"//base",
|
||||
"//base:stringprintf",
|
||||
"//platform/api:types",
|
||||
"//platform/base",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -67,12 +66,11 @@ cc_library(
|
||||
"wifi.h",
|
||||
"wifi_lan.h",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//platform/api:comm",
|
||||
"//platform/base",
|
||||
"//platform/impl/windows/generated:types",
|
||||
"//cpp/platform/api:comm",
|
||||
"//cpp/platform/base",
|
||||
"//cpp/platform/impl/windows/generated:types",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -81,13 +79,12 @@ cc_library(
|
||||
srcs = [
|
||||
"crypto.cc",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//absl/strings",
|
||||
"//platform/api:types",
|
||||
"//platform/base",
|
||||
"//openssl:crypto",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/base",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@boringssl//:crypto",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -110,7 +107,6 @@ cc_library(
|
||||
"wifi_lan_server_socket.cc",
|
||||
"wifi_lan_socket.cc",
|
||||
],
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
copts = ["-Ithird_party/nearby/cpp/platform/impl/windows/generated"],
|
||||
defines = ["_SILENCE_CLANG_COROUTINE_MESSAGE"],
|
||||
visibility = [
|
||||
@@ -120,13 +116,13 @@ cc_library(
|
||||
":comm",
|
||||
":crypto", # build_cleaner: keep
|
||||
":types",
|
||||
"//platform/api:comm",
|
||||
"//platform/api:platform",
|
||||
"//platform/api:types",
|
||||
"//platform/impl/shared:count_down_latch",
|
||||
"//platform/impl/shared:file",
|
||||
"//platform/impl/windows/generated:types",
|
||||
"//platform/public:types",
|
||||
"//cpp/platform/api:comm",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/api:types",
|
||||
"//cpp/platform/impl/shared:count_down_latch",
|
||||
"//cpp/platform/impl/shared:file",
|
||||
"//cpp/platform/impl/windows/generated:types",
|
||||
"//cpp/platform/public:types",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -143,7 +139,7 @@ cc_library(
|
||||
"//third_party/nearby/windows:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//platform/base",
|
||||
"//cpp/platform/base",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -165,11 +161,11 @@ cc_test(
|
||||
":crypto",
|
||||
":test_utils",
|
||||
":types",
|
||||
"//testing/base/public:gunit_main",
|
||||
"//platform/api:platform",
|
||||
"//platform/base",
|
||||
"//platform/impl/windows",
|
||||
"//platform/impl/windows/generated:types",
|
||||
"//platform/public:logging",
|
||||
"//cpp/platform/api:platform",
|
||||
"//cpp/platform/base",
|
||||
"//cpp/platform/impl/windows",
|
||||
"//cpp/platform/impl/windows/generated:types",
|
||||
"//cpp/platform/public:logging",
|
||||
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -15,7 +15,6 @@ licenses(["notice"])
|
||||
|
||||
cc_library(
|
||||
name = "types",
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
linkopts = [
|
||||
"advapi32.lib",
|
||||
"comdlg32.lib",
|
||||
@@ -36,7 +35,7 @@ cc_library(
|
||||
],
|
||||
textual_hdrs = glob(["**/*.h"]),
|
||||
visibility = [
|
||||
"//cpp/platform/impl/windows:__subpackages__",
|
||||
"//third_party/nearby/connections/windows:__subpackages__",
|
||||
"//platform/impl/windows:__subpackages__",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user