Convert Visit*Deps from blueprint.Module to android.Module
Also adds checks that the dependencies are android.Modules and are not disabled. Test: m checkbuild Change-Id: I05e945f38915d49cd3c0ab72a86576949bc7eff2
This commit is contained in:
@@ -21,8 +21,6 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
|
||||
"android/soong/android"
|
||||
)
|
||||
|
||||
@@ -135,7 +133,7 @@ func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actual_versi
|
||||
|
||||
var launcher_path android.Path
|
||||
if embedded_launcher {
|
||||
ctx.VisitDirectDeps(func(m blueprint.Module) {
|
||||
ctx.VisitDirectDeps(func(m android.Module) {
|
||||
if ctx.OtherModuleDependencyTag(m) != launcherTag {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user