Give BuildSettingInfo's value field a description (#167)

This commit is contained in:
Julie 2019-07-03 14:42:40 -04:00 committed by c-parsons
parent 21ee269a55
commit 10851c2c5b
2 changed files with 6 additions and 2 deletions

View File

@ -287,7 +287,7 @@ A singleton provider that contains the raw value of a build setting
<tr id="BuildSettingInfo-value"> <tr id="BuildSettingInfo-value">
<td><code>value</code></td> <td><code>value</code></td>
<td> <td>
<p>(Undocumented)</p> <p>The value of the build setting in the current configuration. This value may come from the command line or an upstream transition, or else it will be the build setting's default.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -23,7 +23,11 @@ https://docs.bazel.build/versions/master/skylark/config.html#user-defined-build-
BuildSettingInfo = provider( BuildSettingInfo = provider(
doc = "A singleton provider that contains the raw value of a build setting", doc = "A singleton provider that contains the raw value of a build setting",
fields = ["value"] fields = {
"value": "The value of the build setting in the current configuration. "
+ "This value may come from the command line or an upstream transition, "
+ "or else it will be the build setting's default."
}
) )
def _impl(ctx): def _impl(ctx):