Internal cleaup for protos.

PiperOrigin-RevId: 424738503
This commit is contained in:
suetfei
2022-02-02 11:44:51 -08:00
committed by hai007
parent 6b1887c962
commit 5bc20e2ea4
3 changed files with 38 additions and 19 deletions
+8 -1
View File
@@ -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 = [
+6 -1
View File
@@ -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
View File
@@ -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",