summaryrefslogtreecommitdiff
path: root/apex/builder.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-09-25 16:41:31 -0700
committer Colin Cross <ccross@android.com> 2024-09-25 19:15:26 -0700
commit8bf14fcb89c300143dda1b8b5ce6ff8d28583109 (patch)
tree85ed310ba5c044d0c7ffb98eea01a0a265b33f17 /apex/builder.go
parentb79aa8fe11e0f330f1368e75d8d75e4842245bee (diff)
Allow WalkPayloadDeps to be called from mutators
Replace ModuleContext with BaseModuleContext in WalkPayloadDeps and all of the callbacks used with it to allow using WalkPayloadDeps from mutators. Test: builds Flag: EXEMPT refactor Change-Id: Ie9d6cb7e9977b1d963cfbb3e43d6749307b4b1e0
Diffstat (limited to 'apex/builder.go')
-rw-r--r--apex/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/builder.go b/apex/builder.go
index 5ddbc1861..da9e47ea3 100644
--- a/apex/builder.go
+++ b/apex/builder.go
@@ -1091,7 +1091,7 @@ func (a *apexBundle) buildApexDependencyInfo(ctx android.ModuleContext) {
}
depInfos := android.DepNameToDepInfoMap{}
- a.WalkPayloadDeps(ctx, func(ctx android.ModuleContext, from blueprint.Module, to android.ApexModule, externalDep bool) bool {
+ a.WalkPayloadDeps(ctx, func(ctx android.BaseModuleContext, from blueprint.Module, to android.ApexModule, externalDep bool) bool {
if from.Name() == to.Name() {
// This can happen for cc.reuseObjTag. We are not interested in tracking this.
// As soon as the dependency graph crosses the APEX boundary, don't go further.