Files
nearby/fastpair/common/BUILD
T
2023-02-28 15:18:36 -08:00

42 lines
908 B
Python

licenses(["notice"])
cc_library(
name = "common",
srcs = [
"fast_pair_device.cc",
"fast_pair_http_result.cc",
"pair_failure.cc",
"protocol.cc",
],
hdrs = [
"constant.h",
"fast_pair_device.h",
"fast_pair_http_result.h",
"pair_failure.h",
"protocol.h",
],
visibility = [
"//fastpair:__subpackages__",
],
deps = [
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
],
)
cc_test(
name = "fast_pair_device_test",
size = "small",
srcs = [
"fast_pair_device_test.cc",
],
shard_count = 16,
deps = [
":common",
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
],
)