Skip to content

Support Bazel 9 rule migration and JavaCC - #374

Open
zbarsky-openai wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
zbarsky-openai:zbarsky/bazel9-compatibility
Open

Support Bazel 9 rule migration and JavaCC#374
zbarsky-openai wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
zbarsky-openai:zbarsky/bazel9-compatibility

Conversation

@zbarsky-openai

Copy link
Copy Markdown

Bazel 9 removes native C++ and proto rules used by several transitive
dependencies and no longer exposes the local JDK file targets referenced
by the JavaCC parser rules.

Load C++ rules explicitly in emulator-owned BUILD overlays, enable
Bazel's external-rule migration for unchanged third-party BUILD files,
and run JavaCC using the complete Java 21 runtime toolchain. The
migration flag remains supported by the project's pinned Bazel 7.6.1.

Load C++ rules explicitly in repository-owned BUILD overlays and enable
external rule migration for third-party packages that still reference
removed native C++ and proto rules.

Run JavaCC with the complete Java 21 runtime toolchain instead of local
JDK file targets that are unavailable under Bazel 9.
@google-cla

google-cla Bot commented Aug 23, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant