@@ -64,13 +64,13 @@ DEFAULT_JAVACOPTS = [
6464# Default java_toolchain parameters
6565_BASE_TOOLCHAIN_CONFIGURATION = dict (
6666 forcibly_disable_header_compilation = False ,
67- genclass = ["@remote_java_tools//:GenClass" ],
68- header_compiler = ["@remote_java_tools//:TurbineDirect" ],
69- header_compiler_direct = ["@remote_java_tools//:TurbineDirect" ],
67+ genclass = [Label ( "@remote_java_tools//:GenClass" ) ],
68+ header_compiler = [Label ( "@remote_java_tools//:TurbineDirect" ) ],
69+ header_compiler_direct = [Label ( "@remote_java_tools//:TurbineDirect" ) ],
7070 ijar = [Label ("//toolchains:ijar" )],
71- javabuilder = ["@remote_java_tools//:JavaBuilder" ],
71+ javabuilder = [Label ( "@remote_java_tools//:JavaBuilder" ) ],
7272 javac_supports_workers = True ,
73- jacocorunner = "@remote_java_tools//:jacoco_coverage_runner_filegroup" ,
73+ jacocorunner = Label ( "@remote_java_tools//:jacoco_coverage_runner_filegroup" ) ,
7474 jvm_opts = BASE_JDK9_JVM_OPTS ,
7575 turbine_jvm_opts = [
7676 # Turbine is not a worker and parallel GC is faster for short-lived programs.
@@ -105,7 +105,7 @@ DEFAULT_TOOLCHAIN_CONFIGURATION = _BASE_TOOLCHAIN_CONFIGURATION
105105# However it does allow using a wider range of `--host_javabase`s, including
106106# versions newer than the current JDK.
107107VANILLA_TOOLCHAIN_CONFIGURATION = dict (
108- javabuilder = ["@remote_java_tools//:VanillaJavaBuilder" ],
108+ javabuilder = [Label ( "@remote_java_tools//:VanillaJavaBuilder" ) ],
109109 jvm_opts = [],
110110 java_runtime = None ,
111111)
@@ -122,8 +122,8 @@ PREBUILT_TOOLCHAIN_CONFIGURATION = dict(
122122
123123# The new toolchain is using all the tools from sources.
124124NONPREBUILT_TOOLCHAIN_CONFIGURATION = dict (
125- ijar = ["@remote_java_tools//:ijar_cc_binary" ],
126- singlejar = ["@remote_java_tools//:singlejar_cc_bin" ],
125+ ijar = [Label ( "@remote_java_tools//:ijar_cc_binary" ) ],
126+ singlejar = [Label ( "@remote_java_tools//:singlejar_cc_bin" ) ],
127127)
128128
129129_DEFAULT_SOURCE_VERSION = "8"
@@ -159,7 +159,7 @@ def default_java_toolchain(name, configuration = DEFAULT_TOOLCHAIN_CONFIGURATION
159159 )
160160 native .toolchain (
161161 name = name + "_default_definition" ,
162- toolchain_type = "@bazel_tools//tools/jdk:toolchain_type" ,
162+ toolchain_type = Label ( "@bazel_tools//tools/jdk:toolchain_type" ) ,
163163 target_settings = [name + "_default_version_setting" ],
164164 toolchain = name ,
165165 )
@@ -171,7 +171,7 @@ def default_java_toolchain(name, configuration = DEFAULT_TOOLCHAIN_CONFIGURATION
171171 )
172172 native .toolchain (
173173 name = name + "_definition" ,
174- toolchain_type = "@bazel_tools//tools/jdk:toolchain_type" ,
174+ toolchain_type = Label ( "@bazel_tools//tools/jdk:toolchain_type" ) ,
175175 target_settings = [name + "_version_setting" ],
176176 toolchain = name ,
177177 exec_compatible_with = exec_compatible_with ,
0 commit comments