Bazel: Fix another usage of tools in action inputs

See I744ae1b28 for why this is necessary. One of the usages was missed
and hence it's corrected with this change.

Tested via running
$ bazel build //...
before (-> build error) and after (-> build success) this change.

Change-Id: I8df26f7b03ea6d261e543883a840a4dbb74dc0c0
(cherry picked from commit 287e860b82)
This commit is contained in:
Alice Kober-Sotzek
2019-06-28 14:16:35 +02:00
committed by David Pursehouse
parent 831c1ade1d
commit cb04e1a6f7

View File

@@ -115,8 +115,9 @@ def _asciidoc_impl(ctx):
]
args.extend(_generate_asciidoc_args(ctx))
ctx.actions.run(
inputs = ctx.files.srcs + [ctx.executable._exe, ctx.file.version],
inputs = ctx.files.srcs + [ctx.file.version],
outputs = ctx.outputs.outs,
tools = [ctx.executable._exe],
executable = ctx.executable._exe,
arguments = args,
progress_message = "Rendering asciidoctor files for %s" % ctx.label.name,