mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
42 lines
908 B
Python
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",
|
|
],
|
|
)
|