aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2024-01-18 17:23:18 -0800
committerColin Cross <ccross@android.com>2024-01-22 17:18:45 -0800
commit9c2f78f6c46d943a69324e919124ce310c98b1a2 (patch)
treee438f4e6df89ea8277b59668d6be2b29ee5034fc
parent33bec91aec54ca07ea594a96dfa9bcfbd884cb55 (diff)
downloadblueprint-9c2f78f6c46d943a69324e919124ce310c98b1a2.tar.gz
Add Config() to TransitionMutator contexts
Test: builds Change-Id: Iadcea3081d8537220d54b4eeb1ba3691105e1d82
-rw-r--r--context.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/context.go b/context.go
index 63a1f04..28f0cc5 100644
--- a/context.go
+++ b/context.go
@@ -697,6 +697,10 @@ type OutgoingTransitionContext interface {
// DepTag() Returns the dependency tag through which this dependency is
// reached
DepTag() DependencyTag
+
+ // Config returns the config object that was passed to
+ // Context.PrepareBuildActions.
+ Config() interface{}
}
// TransitionMutator implements a top-down mechanism where a module tells its