Cleanup proto target.

PiperOrigin-RevId: 615530943
This commit is contained in:
Francis Tsui
2024-03-13 13:47:22 -07:00
committed by Copybara-Service
parent 61f71c6ce0
commit 5859dd5513
5 changed files with 16 additions and 3 deletions
+4
View File
@@ -48,6 +48,7 @@ cc_library(
"//sharing/common:enum",
"//sharing/internal/base",
"//sharing/internal/public:logging",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
@@ -173,6 +174,7 @@ cc_library(
"//sharing/internal/public:nearby_context",
"//sharing/internal/public:types",
"//sharing/local_device_data",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"//sharing/scheduling",
"@com_google_absl//absl/algorithm:container",
@@ -216,6 +218,7 @@ cc_library(
"//sharing/internal/api:platform",
"//sharing/internal/public:logging",
"//sharing/local_device_data",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/container:flat_hash_set",
@@ -292,6 +295,7 @@ cc_test(
"//sharing/internal/test:nearby_test",
"//sharing/local_device_data",
"//sharing/local_device_data:test_support",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"//sharing/proto/analytics:sharing_log_cc_proto",
"@com_github_protobuf_matchers//protobuf-matchers",
+2 -1
View File
@@ -31,7 +31,7 @@ cc_library(
"//sharing:types",
"//sharing/common:enum",
"//sharing/internal/public:logging",
"//sharing/proto:share_cc_proto",
"//sharing/proto:enums_cc_proto",
"//sharing/proto/analytics:sharing_log_cc_proto",
"@com_google_absl//absl/random",
"@com_google_absl//absl/strings",
@@ -50,6 +50,7 @@ cc_test(
"//proto:sharing_enums_cc_proto",
"//sharing:types",
"//sharing/common:enum",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"//sharing/proto/analytics:sharing_log_cc_proto",
"@com_github_protobuf_matchers//protobuf-matchers",
+3
View File
@@ -38,6 +38,7 @@ cc_library(
"//sharing/internal/public:logging",
"//sharing/internal/public:types",
"//sharing/local_device_data",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"//sharing/scheduling",
"@com_google_absl//absl/container:btree",
@@ -79,6 +80,7 @@ cc_library(
"//sharing/internal/api:platform",
"//sharing/internal/public:types",
"//sharing/local_device_data",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
@@ -109,6 +111,7 @@ cc_test(
"//sharing/internal/public:logging",
"//sharing/internal/test:nearby_test",
"//sharing/local_device_data:test_support",
"//sharing/proto:enums_cc_proto",
"//sharing/proto:share_cc_proto",
"//sharing/scheduling",
"//sharing/scheduling:test_support",
+1 -1
View File
@@ -28,7 +28,7 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
"//sharing/internal/api:platform",
"//sharing/proto:share_cc_proto",
"//sharing/proto:enums_cc_proto",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/status",
"@com_google_absl//absl/time",
+6 -1
View File
@@ -9,7 +9,6 @@ proto_library(
"contact_rpc.proto",
"device_rpc.proto",
"encrypted_metadata.proto",
"enums.proto",
"field_mask.proto",
"rpc_resources.proto",
"settings_observer_data.proto",
@@ -28,6 +27,12 @@ proto_library(
visibility = ["//visibility:public"],
)
cc_proto_library(
name = "enums_cc_proto",
visibility = ["//visibility:public"],
deps = [":enums_proto"],
)
cc_proto_library(
name = "share_cc_proto",
visibility = ["//visibility:public"],