# platform_common

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform/PlatformCommonApi.java" %} {% dynamic setvar version "7.2.0" %} {% dynamic setvar original_path "/rules/lib/toplevel/platform_common" %} {% include "_buttons.html" %} Functions for Starlark to interact with the platform APIs.

## Members

- ConstraintSettingInfo
- ConstraintValueInfo
- PlatformInfo
- TemplateVariableInfo
- ToolchainInfo

## ConstraintSettingInfo

    Provider platform_common.ConstraintSettingInfo

The constructor/key for the ConstraintSettingInfo provider.
Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`

## ConstraintValueInfo

    Provider platform_common.ConstraintValueInfo

The constructor/key for the ConstraintValueInfo provider.
Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`

## PlatformInfo

    Provider platform_common.PlatformInfo

The constructor/key for the PlatformInfo provider.
Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`

## TemplateVariableInfo

    Provider platform_common.TemplateVariableInfo

The constructor/key for the TemplateVariableInfo provider.

## ToolchainInfo

    Provider platform_common.ToolchainInfo

The constructor/key for the ToolchainInfo provider.