diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2015-09-04 13:40:27 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2015-09-04 14:10:12 +0000 |
commit | 76f9a22f02bd5243f9c7fc05fd539fde29951642 (patch) | |
tree | e179cec2fc42afdd94692ce70375c911030036f6 /src/main/java/com | |
parent | 891c6519cd79f3f37d14df84552ab6845630ec76 (diff) |
Comment local attribute of genrule and remove TODO
As discussed on the mailing-list, this attribute
totally make sense now we have sandboxing.
--
MOS_MIGRATED_REVID=102337136
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/genrule/BazelGenRuleRule.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/genrule/BazelGenRuleRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/genrule/BazelGenRuleRule.java index 182d2d9150..556721550a 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/genrule/BazelGenRuleRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/genrule/BazelGenRuleRule.java @@ -151,7 +151,13 @@ public final class BazelGenRuleRule implements RuleDefinition { .add(attr("output_to_bindir", BOOLEAN).value(false) .nonconfigurable("policy decision: no reason for this to depend on the configuration")) - // TODO(bazel-team): remove? + /* <!-- #BLAZE_RULE(genrule).ATTRIBUTE(local) --> + ${SYNOPSIS} + <p> + If set to 1, this option force this <code>genrule</code> to run with the + <code>standalone</code> strategy, without sandboxing. + </p> + <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("local", BOOLEAN).value(false)) /* <!-- #BLAZE_RULE(genrule).ATTRIBUTE(message) --> |