diff options
Diffstat (limited to 'tools/jdk/BUILD')
-rw-r--r-- | tools/jdk/BUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD index 454d6742b7..8ed37dec6a 100644 --- a/tools/jdk/BUILD +++ b/tools/jdk/BUILD @@ -193,6 +193,16 @@ genrule( ) default_java_toolchain( + name = "toolchain_hostjdk8", + bootclasspath = [":platformclasspath"], + jvm_opts = [ + "-Xbootclasspath/p:$(location @bazel_tools//third_party/java/jdk/langtools:javac_jar)", + ], + source_version = "8", + target_version = "8", +) + +default_java_toolchain( name = "toolchain", bootclasspath = [":bootclasspath"], extclasspath = [":extclasspath"], |