diff options
author | Colin Cross <ccross@android.com> | 2017-10-23 17:59:01 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-10-24 13:01:03 -0700 |
commit | d11fcda940055074f9ceb932883ea31dfe0c11d9 (patch) | |
tree | c9226e0580eaecd68b531532119f72ddc31da565 /genrule | |
parent | b6715449737261c64d3408418754185da8624204 (diff) | |
download | build_soong-d11fcda940055074f9ceb932883ea31dfe0c11d9.tar.gz build_soong-d11fcda940055074f9ceb932883ea31dfe0c11d9.tar.bz2 build_soong-d11fcda940055074f9ceb932883ea31dfe0c11d9.zip |
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
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index 9fcc4039..03e10ba4 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -157,7 +157,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) { tools := map[string]android.Path{} if len(g.properties.Tools) > 0 { - ctx.VisitDirectDeps(func(module blueprint.Module) { + ctx.VisitDirectDeps(func(module android.Module) { switch ctx.OtherModuleDependencyTag(module) { case android.SourceDepTag: // Nothing to do |