From d11fcda940055074f9ceb932883ea31dfe0c11d9 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 23 Oct 2017 17:59:01 -0700 Subject: 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 --- java/system_modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/system_modules.go') diff --git a/java/system_modules.go b/java/system_modules.go index f6f572b65..a459b7a0f 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -112,7 +112,7 @@ type SystemModulesProperties struct { func (system *SystemModules) GenerateAndroidBuildActions(ctx android.ModuleContext) { var jars android.Paths - ctx.VisitDirectDeps(func(module blueprint.Module) { + ctx.VisitDirectDeps(func(module android.Module) { if ctx.OtherModuleDependencyTag(module) == libTag { dep, _ := module.(Dependency) jars = append(jars, dep.HeaderJars()...) -- cgit v1.2.3-59-g8ed1b