summaryrefslogtreecommitdiff
path: root/java/jdeps.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdeps.go')
-rw-r--r--java/jdeps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdeps.go b/java/jdeps.go
index 340026318..e856b37ee 100644
--- a/java/jdeps.go
+++ b/java/jdeps.go
@@ -89,7 +89,7 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
dpInfo.Classes = append(dpInfo.Classes, data.Class)
}
- if dep, ok := android.SingletonModuleProvider(ctx, module, JavaInfoProvider); ok {
+ if dep, ok := android.OtherModuleProvider(ctx, module, JavaInfoProvider); ok {
dpInfo.Installed_paths = append(dpInfo.Installed_paths, dep.ImplementationJars.Strings()...)
}
dpInfo.Classes = android.FirstUniqueStrings(dpInfo.Classes)