mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: If30a8df80799adec3aafba5b8dd4c539fc21e16d
111 lines
2.6 KiB
Python
111 lines
2.6 KiB
Python
cc_library(
|
|
name = "types",
|
|
testonly = True,
|
|
srcs = [
|
|
"log_message.cc",
|
|
"scheduled_executor.cc",
|
|
"system_clock.cc",
|
|
],
|
|
hdrs = [
|
|
"atomic_boolean.h",
|
|
"atomic_reference.h",
|
|
"condition_variable.h",
|
|
"count_down_latch.h",
|
|
"log_message.h",
|
|
"multi_thread_executor.h",
|
|
"mutex.h",
|
|
"pipe.h",
|
|
"scheduled_executor.h",
|
|
"single_thread_executor.h",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//base",
|
|
"//platform_v2/api:platform",
|
|
"//platform_v2/api:types",
|
|
"//platform_v2/base",
|
|
"//platform_v2/base:util",
|
|
"//platform_v2/impl/shared:posix_mutex",
|
|
"//absl/base:core_headers",
|
|
"//absl/synchronization",
|
|
"//absl/time",
|
|
"//thread",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "comm",
|
|
testonly = True,
|
|
srcs = [
|
|
"ble.cc",
|
|
"bluetooth_adapter.cc",
|
|
"bluetooth_classic.cc",
|
|
"webrtc.cc",
|
|
"wifi_lan.cc",
|
|
],
|
|
hdrs = [
|
|
"ble.h",
|
|
"bluetooth_adapter.h",
|
|
"bluetooth_classic.h",
|
|
"webrtc.h",
|
|
"wifi_lan.h",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
":types",
|
|
"//platform_v2/api:comm",
|
|
"//platform_v2/base",
|
|
"//platform_v2/base:logging",
|
|
"//platform_v2/base:test_util",
|
|
"//absl/base:core_headers",
|
|
"//absl/container:flat_hash_map",
|
|
"//absl/container:flat_hash_set",
|
|
"//absl/strings",
|
|
"//absl/synchronization",
|
|
"//webrtc/api:create_peerconnection_factory", #buildcleaner: keep
|
|
"//webrtc/api:libjingle_peerconnection_api",
|
|
"//webrtc/api/task_queue:default_task_queue_factory",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "crypto",
|
|
testonly = True,
|
|
srcs = [
|
|
"crypto.cc",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//platform_v2/api:types",
|
|
"//platform_v2/base",
|
|
"//absl/strings",
|
|
"//openssl:crypto",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "g3",
|
|
testonly = True,
|
|
srcs = [
|
|
"platform.cc",
|
|
],
|
|
visibility = [
|
|
"//core_v2:__subpackages__",
|
|
"//platform_v2:__subpackages__",
|
|
],
|
|
deps = [
|
|
":comm",
|
|
":crypto", # build_cleaner: keep
|
|
":types",
|
|
"//platform_v2/api:comm",
|
|
"//platform_v2/api:platform",
|
|
"//platform_v2/api:types",
|
|
"//platform_v2/base:test_util",
|
|
"//platform_v2/impl/shared:file",
|
|
"//absl/base:core_headers",
|
|
"//absl/memory",
|
|
"//absl/strings",
|
|
"//absl/time",
|
|
],
|
|
)
|