2.8 KiB
Executable File
run_binary
run_binary(name, args, env, outs, srcs, tool)
Runs a binary as a build action.
This rule does not require Bash (unlike native.genrule
).
Attributes
name |
Name; required
A unique name for this target. |
args |
List of strings; optional
Command line arguments of the binary. |
env |
Dictionary: String -> String; optional
Environment variables of the action. |
outs |
List of labels; required
Output files generated by the action. |
srcs |
List of labels; optional
Additional inputs of the action. |
tool |
Label; required
The tool to run in the action. |