mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
096133e5d2
* feat: platform_transition_filegroup Lifted from https://github.com/aspect-build/gcc-toolchain/pull/8/files See also https://github.com/fmeum/rules_meta/blob/main/meta/internal/meta.bzl#L4 * test: add tests for transition filegroup
1.2 KiB
1.2 KiB
Rules for working with transitions.
platform_transition_filegroup
platform_transition_filegroup(name, srcs, target_platform)
Transitions the srcs to use the provided platform. The filegroup will contain artifacts for the target platform.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
srcs | The input to be transitioned to the target platform. | List of labels | optional | [] |
target_platform | The target platform to transition the srcs. | Label | required |