Update protobuf to v33.4 and enable prebuilt protoc.

This change updates the protobuf dependency to version 33.4 and configures
Bazel to use prebuilt protoc binaries, which can significantly speed up builds.

Fixes #13531

PiperOrigin-RevId: 936165381
This commit is contained in:
Ayush Ranjan
2026-06-22 11:38:06 -07:00
committed by gVisor bot
parent 5a0321fac1
commit b631ba6a49
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -45,3 +45,7 @@ build:x86_64 --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64
build:aarch64 --crosstool_top=@crosstool//:toolchains
build:aarch64 --cpu=aarch64
build:aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64
# Use prebuilt protoc to speed up builds.
common --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc
common --incompatible_enable_proto_toolchain_resolution=true
+1 -1
View File
@@ -10,7 +10,7 @@ bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_pkg", version = "1.0.1")
bazel_dep(name = "rules_cc", version = "0.2.16")
bazel_dep(name = "grpc", version = "1.76.0", repo_name = "com_github_grpc_grpc")
bazel_dep(name = "protobuf", version = "33.2", repo_name = "com_google_protobuf")
bazel_dep(name = "protobuf", version = "33.4", repo_name = "com_google_protobuf")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl")
bazel_dep(name = "googletest", version = "1.17.0", repo_name = "com_google_googletest")