mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Internal cleaup for protos.
PiperOrigin-RevId: 424738503
This commit is contained in:
+8
-1
@@ -13,8 +13,8 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Proto for Nearby products
|
||||
|
||||
load("//net/proto2/contrib/portable/cc:portable_proto_build_defs.bzl", "portable_proto_library")
|
||||
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
@@ -45,6 +45,13 @@ java_proto_library(
|
||||
deps = [":connections_enums_proto"],
|
||||
)
|
||||
|
||||
cc_proto_library(
|
||||
name = "connections_enums_cc_proto",
|
||||
deps = [
|
||||
":connections_enums_proto",
|
||||
],
|
||||
)
|
||||
|
||||
portable_proto_library(
|
||||
name = "connections_enums_portable_proto",
|
||||
compatible_with = [
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Proto for Nearby products
|
||||
|
||||
load("//net/proto2/contrib/portable/cc:portable_proto_build_defs.bzl", "portable_proto_library")
|
||||
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
@@ -35,6 +35,11 @@ java_lite_proto_library(
|
||||
deps = [":error_code_enums_proto"],
|
||||
)
|
||||
|
||||
cc_proto_library(
|
||||
name = "error_code_enums_cc_proto",
|
||||
deps = [":error_code_enums_proto"],
|
||||
)
|
||||
|
||||
portable_proto_library(
|
||||
name = "error_code_enums_portable_proto",
|
||||
compatible_with = [
|
||||
|
||||
+24
-17
@@ -50,23 +50,6 @@ java_lite_proto_library(
|
||||
deps = [":wifi_aware_frames_proto"],
|
||||
)
|
||||
|
||||
proto_library(
|
||||
name = "ble_frames_proto",
|
||||
srcs = [
|
||||
"ble_frames.proto",
|
||||
],
|
||||
cc_api_version = 2,
|
||||
)
|
||||
|
||||
java_lite_proto_library(
|
||||
name = "ble_frames_java_proto_lite",
|
||||
visibility = [
|
||||
"//java/com/google/android/gmscore/integ/modules/nearby/src/com/google/android/gms/nearby/mediums:__subpackages__",
|
||||
"//javatests/com/google/android/gmscore/integ/modules/nearby/src/com/google/android/gms/nearby/mediums:__subpackages__",
|
||||
],
|
||||
deps = [":ble_frames_proto"],
|
||||
)
|
||||
|
||||
proto_library(
|
||||
name = "web_rtc_signaling_frames_proto",
|
||||
srcs = [
|
||||
@@ -99,6 +82,30 @@ java_lite_proto_library(
|
||||
deps = [":web_rtc_signaling_frames_proto"],
|
||||
)
|
||||
|
||||
proto_library(
|
||||
name = "ble_frames_proto",
|
||||
srcs = [
|
||||
"ble_frames.proto",
|
||||
],
|
||||
cc_api_version = 2,
|
||||
)
|
||||
|
||||
java_lite_proto_library(
|
||||
name = "ble_frames_java_proto_lite",
|
||||
visibility = [
|
||||
"//java/com/google/android/gmscore/integ/modules/nearby/src/com/google/android/gms/nearby/mediums:__subpackages__",
|
||||
"//javatests/com/google/android/gmscore/integ/modules/nearby/src/com/google/android/gms/nearby/mediums:__subpackages__",
|
||||
],
|
||||
deps = [":ble_frames_proto"],
|
||||
)
|
||||
|
||||
cc_proto_library(
|
||||
name = "ble_frames_cc_proto",
|
||||
deps = [
|
||||
":ble_frames_proto",
|
||||
],
|
||||
)
|
||||
|
||||
portable_proto_library(
|
||||
name = "ble_frames_portable_proto",
|
||||
config = ":ble_frames_portable_proto_config",
|
||||
|
||||
Reference in New Issue
Block a user