Skip to content

Commit

Permalink
Rename com_google_protobuf to protobuf
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681419984
  • Loading branch information
Googler authored and copybara-github committed Oct 2, 2024
1 parent 19aa952 commit b220447
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@rules_java//java:defs.bzl", "java_proto_library")

package(default_visibility = ["//visibility:public"])
Expand All @@ -24,8 +24,8 @@ proto_library(
"//third_party/bazel/src/main/protobuf:command_line_proto",
"//third_party/bazel/src/main/protobuf:failure_details_proto",
"//third_party/bazel/src/main/protobuf:invocation_policy_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
"@protobuf//:any_proto",
"@protobuf//:duration_proto",
"@protobuf//:timestamp_proto",
],
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@rules_java//java:defs.bzl", "java_library", "java_proto_library")

package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -36,7 +36,7 @@ proto_library(
name = "package_metrics_proto",
srcs = ["package_metrics.proto"],
deps = [
"@com_google_protobuf//:duration_proto",
"@protobuf//:duration_proto",
],
)

Expand All @@ -51,7 +51,7 @@ proto_library(
name = "package_load_metrics_proto",
srcs = ["package_load_metrics.proto"],
deps = [
"@com_google_protobuf//:duration_proto",
"@protobuf//:duration_proto",
],
)

Expand Down
20 changes: 10 additions & 10 deletions third_party/bazel/src/main/protobuf/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@rules_python//python:proto.bzl", "py_proto_library")

package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -62,20 +62,20 @@ java_proto_library(

java_proto_library(
name = "any_java_proto",
deps = ["@com_google_protobuf//:any_proto"],
deps = ["@protobuf//:any_proto"],
)

java_proto_library(
name = "wrappers_java_proto",
deps = ["@com_google_protobuf//:wrappers_proto"],
deps = ["@protobuf//:wrappers_proto"],
)

proto_library(
name = "command_server_proto",
srcs = ["command_server.proto"],
deps = [
":failure_details_proto",
"@com_google_protobuf//:any_proto",
"@protobuf//:any_proto",
],
)

Expand All @@ -87,7 +87,7 @@ java_proto_library(
proto_library(
name = "failure_details_proto",
srcs = ["failure_details.proto"],
deps = ["@com_google_protobuf//:descriptor_proto"],
deps = ["@protobuf//:descriptor_proto"],
)

java_proto_library(
Expand Down Expand Up @@ -171,10 +171,10 @@ proto_library(
name = "remote_execution_log_proto",
srcs = ["remote_execution_log.proto"],
deps = [
"@com_google_protobuf//:timestamp_proto",
"@googleapis//google/bytestream:bytestream_proto",
"@googleapis//google/longrunning:operations_proto",
"@googleapis//google/rpc:status_proto",
"@protobuf//:timestamp_proto",
"@remoteapis//:build_bazel_remote_execution_v2_remote_execution_proto",
],
)
Expand Down Expand Up @@ -208,8 +208,8 @@ proto_library(
name = "bazel_output_service_proto",
srcs = ["bazel_output_service.proto"],
deps = [
"@com_google_protobuf//:any_proto",
"@googleapis//google/rpc:status_proto",
"@protobuf//:any_proto",
],
)

Expand Down Expand Up @@ -245,8 +245,8 @@ proto_library(
name = "spawn_proto",
srcs = ["spawn.proto"],
deps = [
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
"@protobuf//:duration_proto",
"@protobuf//:timestamp_proto",
],
)

Expand Down

0 comments on commit b220447

Please sign in to comment.