Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aspect.build/llms.txt

Use this file to discover all available pages before exploring further.

Documentation for @bazel_lib@v3.2.0 View source
Rules for working with transitions.

Rule: platform_transition_filegroup

Transitions the srcs to use the provided platform. The filegroup will contain artifacts for the target platform.

Attributes

name
name
required
A unique name for this target.
target_platform
label
required
The target platform to transition the srcs.
srcs
list of labels
default:"[]"
The input to be transitioned to the target platform.

Rule: platform_transition_binary

Transitions the binary to use the provided platform. Will forward RunEnvironmentInfo Kind: Executable rule

Attributes

name
name
required
A unique name for this target.
basename
string
default:"\"\""
binary
label
default:"None"
target_platform
label
required
The target platform to transition the binary.

Rule: platform_transition_test

Transitions the test to use the provided platform. Will forward RunEnvironmentInfo Kind: Test rule

Attributes

name
name
required
A unique name for this target.
basename
string
default:"\"\""
binary
label
default:"None"
target_platform
label
required
The target platform to transition the binary.