Commit ce0dca83 authored by Keith Smiley's avatar Keith Smiley Committed by Adam Cozzette

Move tool out of inputs in bazel config

This fixes compatibility with bazel when passing `--incompatible_no_support_tools_in_action_inputs` which will be flipped in an upcoming release.
parent 2cac37a2
......@@ -158,10 +158,11 @@ def _proto_gen_impl(ctx):
if generated_out != out.path:
command += ";mv %s %s" % (generated_out, out.path)
ctx.actions.run_shell(
inputs = inputs + [ctx.executable.protoc],
inputs = inputs,
outputs = [out],
command = command,
mnemonic = "ProtoCompile",
tools = [ctx.executable.protoc],
use_default_shell_env = True,
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment