diff options
author | brandjon <brandjon@google.com> | 2018-04-12 10:45:24 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-12 10:46:46 -0700 |
commit | cbe428a8c84436ddf8964fc38918825d9d8c4cec (patch) | |
tree | 628a204307e8a2740a65046b06a53b8d437c1d23 /src/main/java/com/google/devtools/build/lib/actions/Artifact.java | |
parent | 510c10707af759a19fcb3e414fa036ed60f4bf1d (diff) |
Document the new ctx.actions.args() API
RELNOTES: Args objects (ctx.actions.args()) have new methods add_all() and add_joined() for building command lines using depsets.
RELNOTES[INC]: Added flag --incompatible_disallow_old_style_args_add to help migrate from args.add() to args.add_all() / args.add_joined() where appropriate.
PiperOrigin-RevId: 192633763
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/Artifact.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java index 68af8179d5..b77ca28199 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java +++ b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java @@ -106,6 +106,10 @@ import javax.annotation.Nullable; + "construct the action graph in a rule implementation function by passing it to " + "action-creating functions. See the " + "<a href='../rules.$DOC_EXT#files'>Rules page</a> for more information." + + "" + + "<p>When a <code>File</code> is passed to an <a href='Args.html'><code>Args</code></a> " + + "object without using a <code>map_each</code> function, it is converted to a string by " + + "taking the value of its <code>path</code> field." ) @AutoCodec public class Artifact |