Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions java/common/rules/android_lint.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def _android_lint_action(ctx, source_files, source_jars, compilation_info):
tools = tools,
arguments = args_list,
execution_requirements = {"supports-workers": "1"},
use_default_shell_env = True,
)
return android_lint_out

Expand Down
1 change: 1 addition & 0 deletions java/common/rules/impl/import_deps_check.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def import_deps_check(
outputs = [jdeps_output],
tools = tools,
toolchain = semantics.JAVA_TOOLCHAIN_TYPE,
use_default_shell_env = True,
)

return jdeps_output
1 change: 1 addition & 0 deletions java/common/rules/impl/java_binary_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ def _create_one_version_check(ctx, inputs, is_test_rule_class):
tools = [tool],
outputs = [output],
arguments = [args],
use_default_shell_env = True,
)

return output
Expand Down
1 change: 1 addition & 0 deletions java/common/rules/impl/java_helper.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def _create_single_jar(
tools = [toolchain.single_jar],
outputs = [output],
arguments = [args],
use_default_shell_env = True,
)
return output

Expand Down
1 change: 1 addition & 0 deletions java/common/rules/impl/proguard_validation.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def _validate_spec(ctx, spec_file):
inputs = [spec_file],
outputs = [validated_proguard_spec],
toolchain = Label(semantics.JAVA_TOOLCHAIN_TYPE),
use_default_shell_env = True,
)

return validated_proguard_spec
Expand Down
1 change: 1 addition & 0 deletions java/java_single_jar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def _java_single_jar(ctx):
progress_message = "Merging into %s" % ctx.outputs.jar.short_path,
mnemonic = "JavaSingleJar",
executable = ctx.executable._singlejar,
use_default_shell_env = True,
)

files = depset([ctx.outputs.jar])
Expand Down
2 changes: 2 additions & 0 deletions toolchains/bootclasspath.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def _bootclasspath_impl(ctx):
arguments = [args],
env = env,
execution_requirements = _SUPPORTS_PATH_MAPPING,
use_default_shell_env = True,
)

bootclasspath = ctx.outputs.output_jar
Expand Down Expand Up @@ -202,6 +203,7 @@ Rerun with --toolchain_resolution_debug='@bazel_tools//tools/jdk:bootstrap_runti
arguments = [args],
env = env,
execution_requirements = _SUPPORTS_PATH_MAPPING,
use_default_shell_env = True,
)
return [
DefaultInfo(files = depset([bootclasspath])),
Expand Down