forked from bazelbuild/rules_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
target_compatible_with
for Java runtimes
The JDK is a runtime. Actions like `java_binary` output an executable that contains a JDK in its runfiles, and that JDK needs to be compatible with the target platform. (Actions like `genrule` that execute the JDK can depend on the JDK as a `tool`, which does an explicit transition to the `exec` platform.) PiperOrigin-RevId: 426995073 Change-Id: I97ab530c56047b780b1a2170937ddf162660840b
- Loading branch information
1 parent
fcfe24e
commit 338c418
Showing
2 changed files
with
28 additions
and
28 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