blob: 6ccb83373547569d16e50f9592d1fd52589ff4cc [file] [log] [blame]
<p>
<code>List of strings; optional; subject to
<a href="${link make-variables#location}">$(location)</a> and
<a href="${link make-variables}">"Make variable"</a> substitution, and
<a href="#sh-tokenization">Bourne shell tokenization</a></code>
</p>
<p>
Command line arguments that bazel will pass to the target when it is executed
either by the <code>run</code> command or as a test. These arguments are
passed before the ones that are specified on the <code>bazel run</code> or
<code>bazel test</code> command line.
</p>
<p>
<em class="harmful">NOTE: The arguments are not passed when you run the target
outside of bazel (for example, by manually executing the binary in
<code>bazel-bin/</code>).</em>
</p>
<p>
Most binary rules permit an <code>args</code> attribute, but where
this attribute is not allowed, this fact is documented under the
specific rule.
</p>