-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
What started out as an attempt to upgrade gRPC has snowballed into this monster... * Upgrades gRPC to the latest version, including the Java bindings from `grpc-java` * `grpc-java` actually specifies [Maven overrides](https://github.com/bazelbuild/bazel-central-registry/blob/353b485c6cd965062cced0d40496b70e606e2dbe/modules/grpc-java/1.66.0/MODULE.bazel#L88-L201), causing rules_jvm_external's references to `io.grpc.*` and `com.google.protobuf.*` to alias to actual Bazel build targets in `@grpc-java` and `@protobuf`. So this effectively means we're no longer using the gRPC jars from Maven * To support these overrides, our custom patch for `rules_jvm_external` had to be updated to include the `alias` targets in the `BUILD.vendor` file. * The upgrade to gRPC means we now use the latest googleapis from BCR * This means we can remove the vendored copy of those protos. Updated all references to googleapis protos across the codebase. * The upgrade to gRPC means we now use the latest version of protobuf * This ran into some trouble with the concurrent work to move Bazel's proto rules into protobuf, which means that we currently have to use the protobuf version from HEAD. * We also have to patch out protobuf's dependency on rules_rust, as it introduces a lot of dependency bloat and makes it impossible to build a bootstrap distribution archive * The dependency on upb is completely removed. Fixes #22719 Closes #23767. PiperOrigin-RevId: 681163732 Change-Id: Ifd7476833f61c40483850a6a825f79537ffad74a
- Loading branch information
1 parent
4720b4c
commit c46b9ce
Showing
40 changed files
with
3,673 additions
and
2,075 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.