aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/features.html
blob: 3fe50810e046ec5f2ab36ae2716d2c11a11abb1c (plain)
1
2
3
4
5
6
7
8
9
<p><code>List of <i>features</i>. Default is the empty list.</code></p>

<p><i>Features</i> on a rule modify the <i>features</i> currently enabled on
the <a href="#package">package</a> level via the <i>features</i> attribute.<br/>
For example, if the features ['a', 'b'] are enabled on the package level,
and a rule <i>features</i> attribute contains ['-a', 'c'], the features
enabled for the rule will be 'b' and 'c'.
</p>