Registers the fuchsia sdk toolchain.
This method should be called in your WORKSPACE file to register the fuchsia toolchain. It defaults to using the toolchain defined in the fuchsia_sdk repository but a different name can be used if needed.
The toolchain is assumed to exist at the root of the given repo but the path can be provided if needed.
PARAMETERS
Name | Description | Default |
---|---|---|
name | The toolchain decl repository. | "fuchsia_sdk_toolchain_decl" |
toolchain_path | The fully qualified path to the toolchain. This should only be needed if you are using a non-standard SDK. |
"@fuchsia_sdk//:fuchsia_toolchain_info" |