Extensions > API reference > platform_common

platform_common

Functions for Starlark to interact with the platform APIs.

ConstraintSettingInfo

Provider platform_common.ConstraintSettingInfo

The provider used to retrieve the information about a constraint setting.

ConstraintValueInfo

Provider platform_common.ConstraintValueInfo

The provider used to retrieve the information about a constraint value.

PlatformInfo

Provider platform_common.PlatformInfo

The provider used to retrieve the information about a platform.

TemplateVariableInfo

Provider platform_common.TemplateVariableInfo

The provider used to retrieve the provider that contains the template variables defined by a particular toolchain, for example by calling ctx.attr._cc_toolchain[platform_common.TemplateVariableInfo].make_variables[]

ToolchainInfo

Provider platform_common.ToolchainInfo

The provider used to retrieve information about a toolchain.