propagation_ctx
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.1
·
8.0
·
7.6
·
7.5
·
7.4
A context object that is passed to the propagation_predicate
, attr_aspects
and toolchains_aspects
functions of aspects. It provides access to the information needed to determine whether the aspect should be propagated to the target and what attributes or toolchain types it should be propagated to next.
Members
attr
struct propagation_ctx.attr
A struct to access only the public parameters of the aspect. The keys and values of the struct are the parameters names and values.
rule
StarlarkAspectPropagationRuleApi propagation_ctx.rule
Allows access to the details of the rule.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-24 UTC.
[null,null,["Last updated 2025-03-24 UTC."],[],[]]