diff options
author | Dave MacLachlan <dmaclach@google.com> | 2016-03-02 04:15:09 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-03-02 17:55:06 +0000 |
commit | fc8c58a137229200cb03cb70169fa013d5680e82 (patch) | |
tree | 354f9bc3804da4af8f155ff6e473a8ccbc0e18f2 /src/main/java/com/google/devtools/build/lib/rules | |
parent | 8091b2b42bfd9113513aa68294ddc6160cb6500f (diff) |
Add documentation for fragments type, and add the four fragments (apple, cpp, java, jvm) to the documentation.
--
MOS_MIGRATED_REVID=116092594
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java index 8abc00bf51..48e105ce25 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java +++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java @@ -473,21 +473,13 @@ public final class SkylarkRuleContext { } @SkylarkCallable(name = "fragments", structField = true, - doc = "Allows access to configuration fragments in target configuration. " - + "Possible fields are <code>apple</code>, <code>cpp</code>, " - + "<code>java</code> and <code>jvm</code>. " - + "However, rules have to declare their required fragments in order to access them " - + "(see <a href=\"../rules.html#fragments\">here</a>).") + doc = "Allows access to configuration fragments in target configuration.") public FragmentCollection getFragments() { return fragments; } @SkylarkCallable(name = "host_fragments", structField = true, - doc = "Allows access to configuration fragments in host configuration. " - + "Possible fields are <code>apple</code>, <code>cpp</code>, " - + "<code>java</code> and <code>jvm</code>. " - + "However, rules have to declare their required fragments in order to access them " - + "(see <a href=\"../rules.html#fragments\">here</a>).") + doc = "Allows access to configuration fragments in host configuration.") public FragmentCollection getHostFragments() { return hostFragments; } |