summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-09-26 18:29:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-09-26 18:29:22 +0000
commit4649b1fb6542ffb51c10c5f4ba2534d19a67253a (patch)
tree43ab66a7a61c0b4498030b0dfe3db6dc542ea113 /android/apex.go
parentc980c1e4dfb7d43ded26f09831eec35f0699cb6d (diff)
parent8bf14fcb89c300143dda1b8b5ce6ff8d28583109 (diff)
Merge "Allow WalkPayloadDeps to be called from mutators" into main
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/apex.go b/android/apex.go
index 114fe2988..79ab13caf 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -989,8 +989,8 @@ func (d *ApexBundleDepsInfo) BuildDepsInfoLists(ctx ModuleContext, minSdkVersion
// Function called while walking an APEX's payload dependencies.
//
// Return true if the `to` module should be visited, false otherwise.
-type PayloadDepsCallback func(ctx ModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool
-type WalkPayloadDepsFunc func(ctx ModuleContext, do PayloadDepsCallback)
+type PayloadDepsCallback func(ctx BaseModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool
+type WalkPayloadDepsFunc func(ctx BaseModuleContext, do PayloadDepsCallback)
// ModuleWithMinSdkVersionCheck represents a module that implements min_sdk_version checks
type ModuleWithMinSdkVersionCheck interface {
@@ -1017,7 +1017,7 @@ func CheckMinSdkVersion(ctx ModuleContext, minSdkVersion ApiLevel, walk WalkPayl
return
}
- walk(ctx, func(ctx ModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool {
+ walk(ctx, func(ctx BaseModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool {
if externalDep {
// external deps are outside the payload boundary, which is "stable"
// interface. We don't have to check min_sdk_version for external