Files
nearby/internal/weave/sockets/BUILD
T
2023-07-19 15:43:57 -07:00

40 lines
961 B
Python

cc_library(
name = "sockets",
srcs = [
"client_socket.cc",
"server_socket.cc",
],
hdrs = [
"client_socket.h",
"initial_data_provider.h",
"server_socket.h",
],
visibility = [
"//connections:__subpackages__",
],
deps = [
"//internal/platform:types",
"//internal/weave",
"@com_google_absl//absl/random",
"@com_google_absl//absl/status",
],
)
cc_test(
name = "sockets_test",
srcs = [
"client_socket_test.cc",
"server_socket_test.cc",
],
deps = [
":sockets",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
],
)