Convert WalkPayloadDeps from blueprint.Module to android.Module
All modules in Soong are now android.Module, there is no need to
use blueprint.Module.
Test: builds
Change-Id: I859cd6360732e3d195a634736ec515d240323f29
diff --git a/android/apex.go b/android/apex.go
index 49db608..f625baf 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -764,7 +764,7 @@
// Function called while walking an APEX's payload dependencies.
//
// Return true if the `to` module should be visited, false otherwise.
-type PayloadDepsCallback func(ctx BaseModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool
+type PayloadDepsCallback func(ctx BaseModuleContext, from Module, to ApexModule, externalDep bool) bool
type WalkPayloadDepsFunc func(ctx BaseModuleContext, do PayloadDepsCallback)
// ModuleWithMinSdkVersionCheck represents a module that implements min_sdk_version checks
@@ -792,7 +792,7 @@
return
}
- walk(ctx, func(ctx BaseModuleContext, from blueprint.Module, to ApexModule, externalDep bool) bool {
+ walk(ctx, func(ctx BaseModuleContext, from 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