platform_common

Functions for Skylark to interact with the platform APIs.

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 constructor for ToolchainInfo. The constructor takes the type of the toolchain, and a map of the toolchain's data.