Back to Bazel

OutputGroupInfo

docs/versions/8.4.0/rules/lib/providers/OutputGroupInfo.mdx

9.1.02.2 KB
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/8.4.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.OutputGroupInfo">OutputGroupInfo</h1>

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/OutputGroupInfoApi.java" %} {% dynamic setvar version "8.4.0" %} {% dynamic setvar original_path "/rules/lib/providers/OutputGroupInfo" %} {% include "_buttons.html" %}

<!-- {% raw %} -->

A provider that indicates what output groups a rule has. See <a href="https://bazel.build/versions/8.4.0/extending/rules#requesting_output_files">Requesting output files</a> for more information.

<h2>Members</h2> <ul> <li> <a href="#OutputGroupInfo">OutputGroupInfo</a> </li> </ul>
  <h2 id="OutputGroupInfo">OutputGroupInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../providers/OutputGroupInfo.html">OutputGroupInfo</a> OutputGroupInfo(**kwargs)</pre></p>

Instantiate this provider with 
<pre class=language-python>OutputGroupInfo(group1 = &lt;files&gt;, group2 = &lt;files&gt;...)</pre>See <a href="https://bazel.build/versions/8.4.0/extending/rules#requesting_output_files">Requesting output files </a> for more information.
      <!-- hide-from-toc is a class used by DevSite for the public Bazel site
  (https://developers.google.com/devsite/reference/styles/headings#hide_headings_from_the_toc) -->
  <h3 class="hide-from-toc">Parameters</h3>
  <table class="table table-bordered table-condensed table-params">
    <colgroup>
      <col class="col-param">
      <col class="param-description">
    </colgroup>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
              <tr>
        <td id="OutputGroupInfo.kwargs">
          <code>kwargs</code>
        </td>
        <td>
                                 default is <code>{}</code>

                      Dictionary of arguments.
        </td>
      </tr>
            </tbody>
  </table>
</body> </html> <!-- {% endraw %} -->