Skip to content

Commit

Permalink
Support building with non-default java toolchain.
Browse files Browse the repository at this point in the history
See https://issuetracker.google.com/issues/122629756

PiperOrigin-RevId: 229976358
  • Loading branch information
taparkins authored and Copybara-Service committed Jan 18, 2019
1 parent 527d0ef commit 346935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_defs/internal_do_not_use/j2cl_java_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _J2CL_LIB_ATTRS = {
"javacopts": attr.string_list(),
"licenses": attr.license(),
"_java_toolchain": attr.label(
default = Label("@bazel_tools//tools/jdk:toolchain"),
default = Label("@bazel_tools//tools/jdk:current_java_toolchain"),
),
"_host_javabase": attr.label(
default = Label("@bazel_tools//tools/jdk:current_host_java_runtime"),
Expand Down

0 comments on commit 346935e

Please sign in to comment.