Skip to content

Commit

Permalink
Adding mnenomic tags for java toolchain actions
Browse files Browse the repository at this point in the history
Attribute Java actions

Closes bazelbuild#13095.

PiperOrigin-RevId: 360643785
  • Loading branch information
nkoroste authored and copybara-github committed Mar 3, 2021
1 parent 4d17e14 commit 120ea6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/jdk/default_java_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def _bootclasspath_impl(ctx):

ctx.actions.run(
executable = "%s/bin/javac" % host_javabase.java_home,
mnemonic = "JavaToolchainCompileClasses",
inputs = [ctx.file.src] + ctx.files.host_javabase,
outputs = class_outputs,
arguments = [args],
Expand All @@ -246,6 +247,7 @@ def _bootclasspath_impl(ctx):

ctx.actions.run(
executable = str(host_javabase.java_executable_exec_path),
mnemonic = "JavaToolchainCompileBootClasspath",
inputs = inputs,
outputs = [bootclasspath],
arguments = [args],
Expand Down

0 comments on commit 120ea6c

Please sign in to comment.