Functions for Skylark to interact with the platform APIs.
ConstraintSettingInfo
Provider platform_common.ConstraintSettingInfo
The provider constructor for ConstraintSettingInfo. The constructor takes the label that uniquely identifies the constraint (and which should always be ctx.label).
Note: This API is experimental and may change at any time.
ConstraintValueInfo
Provider platform_common.ConstraintValueInfo
The provider constructor for ConstraintValueInfo. The constructor takes the label that uniquely identifies the constraint value (and which should always be ctx.label), and the ConstraintSettingInfo which the value belongs to.
Note: This API is experimental and may change at any time.
Provider platform_common.PlatformInfo
The provider constructor for PlatformInfo. The constructor takes the list of ConstraintValueInfo providers that defines the platform.
Note: This API is experimental and may change at any time.
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[
]
Provider platform_common.ToolchainInfo
The provider constructor for ToolchainInfo. The constructor takes the type of the toolchain, and a map of the toolchain's data.