Skip to content

Commit fafafd1

Browse files
ted-xiecopybara-github
authored andcommitted
Merge #331 by ted-xie: Copy java stub template from rules_java
The stub template will no longer be publicly exposed. The path forward is for remaining users to fork it from rules_java. Closes #331 Fixes #328. COPYBARA_INTEGRATE_REVIEW=#331 from ted-xie:java_stub 4477432 PiperOrigin-RevId: 721461462 Change-Id: I6e777d0e610df30b6f28526d4ab1d2bd7e69be91
1 parent 77251c8 commit fafafd1

4 files changed

Lines changed: 414 additions & 3 deletions

File tree

.bazelci/presubmit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ matrix:
44
bazel: [
55
7.4.1,
66
8.0.0rc7,
7-
# Temporarily disabled until java_stub_template.txt is public
8-
# last_green,
7+
last_green,
98
]
109

1110
tools_flags: &tools_flags

toolchains/android/toolchain.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ _ATTRS = dict(
179179
java_stub = attr.label(
180180
allow_files = True,
181181
# used in android_local_test
182-
default = "@bazel_tools//tools/java:java_stub_template.txt",
182+
default = "//tools/jdk:java_stub_template.txt",
183183
),
184184
jdeps_tool = attr.label(
185185
allow_files = True,

tools/jdk/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,5 @@ alias(
8686
actual = "@rules_java//toolchains:current_host_java_runtime",
8787
visibility = ["//visibility:public"],
8888
)
89+
90+
exports_files(["java_stub_template.txt"])

0 commit comments

Comments
 (0)