Support building //cuttlefish/package:cvd with bazel 9#2164
Open
Databean wants to merge 6 commits intogoogle:mainfrom
Open
Support building //cuttlefish/package:cvd with bazel 9#2164Databean wants to merge 6 commits intogoogle:mainfrom
//cuttlefish/package:cvd with bazel 9#2164Databean wants to merge 6 commits intogoogle:mainfrom
Conversation
This updates the grpc and grpc-proto dependencies to their latest upstream commits using git_override in build_external. The newer grpc includes some changes for bazel 9: https://www.github.com/grpc/grpc/issues/41438#issuecomment-3860024262 #gemini Bug: b/477396584
#gemini Bug: b/477396584
This adds explicit load() statements for proto_library, cc_proto_library, cc_library, cc_binary, and sh_binary in various BUILD.bazel files where they were previously built-in. This is required for Bazel 9 support while maintaining Bazel 8 compatibility. #gemini Bug: b/477396584
This applies numerous patches and configuration updates to enable building //cuttlefish/package:cvd with Bazel 9. Key changes include: - Adding load statements for cc_* and proto_* rules in multiple external repos (rootcanal, gflags, jsoncpp, libjpeg_turbo, c-ares, re2, rules_m4, curl, libuuid, swiftshader, bzip2, xz). - Updating grpc to avoid native.objc_library (removed in Bazel 9). - Patching gfxstream to resolve redundant include errors caused by stricter module/header checks. - Fixing openssl_sys.bzl to correctly collect include directories. - Adding necessary dependencies (rules_cc, protobuf) to patched module files. #gemini Bug: b/477396584
This removes redundant version numbers from bazel_dep calls in the root MODULE.bazel when a corresponding override exists in build_external/. To satisfy Bazel's requirement, the version is now explicitly specified within each single_version_override. #gemini Bug: b/477396584
Bug: b/477396584
jmacnak
approved these changes
Feb 20, 2026
Member
Author
|
Thanks for reviewing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#gemini
Bug: b/477396584