Back to Bazel

Platform Common

docs/versions/7.4.0/rules/lib/toplevel/platform_common.mdx

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

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform/PlatformCommonApi.java" %} {% dynamic setvar version "7.4.0" %} {% dynamic setvar original_path "/rules/lib/toplevel/platform_common" %} {% include "_buttons.html" %}

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

Functions for Starlark to interact with the platform APIs.

<h2>Members</h2> <ul> <li> <a href="#ConstraintSettingInfo">ConstraintSettingInfo</a> </li> <li> <a href="#ConstraintValueInfo">ConstraintValueInfo</a> </li> <li> <a href="#PlatformInfo">PlatformInfo</a> </li> <li> <a href="#TemplateVariableInfo">TemplateVariableInfo</a> </li> <li> <a href="#ToolchainInfo">ToolchainInfo</a> </li> </ul>
  <h2 id="ConstraintSettingInfo">ConstraintSettingInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../builtins/Provider.html">Provider</a> platform_common.ConstraintSettingInfo</pre></p>

The constructor/key for the <a href='../providers/ConstraintSettingInfo.html'>ConstraintSettingInfo</a> provider.

<i>Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with <code>--experimental_platforms_api</code></i>

    <h2 id="ConstraintValueInfo">ConstraintValueInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../builtins/Provider.html">Provider</a> platform_common.ConstraintValueInfo</pre></p>

The constructor/key for the <a href='../providers/ConstraintValueInfo.html'>ConstraintValueInfo</a> provider.

<i>Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with <code>--experimental_platforms_api</code></i>

    <h2 id="PlatformInfo">PlatformInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../builtins/Provider.html">Provider</a> platform_common.PlatformInfo</pre></p>

The constructor/key for the <a href='../providers/PlatformInfo.html'>PlatformInfo</a> provider.

<i>Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with <code>--experimental_platforms_api</code></i>

    <h2 id="TemplateVariableInfo">TemplateVariableInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../builtins/Provider.html">Provider</a> platform_common.TemplateVariableInfo</pre></p>

The constructor/key for the <a href='../providers/TemplateVariableInfo.html'>TemplateVariableInfo</a> provider.


    <h2 id="ToolchainInfo">ToolchainInfo</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../builtins/Provider.html">Provider</a> platform_common.ToolchainInfo</pre></p>

The constructor/key for the <a href='../providers/ToolchainInfo.html'>ToolchainInfo</a> provider.
</body> </html> <!-- {% endraw %} -->