summaryrefslogtreecommitdiff
path: root/java/lint.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-13 16:15:51 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-08-13 16:15:51 +0000
commit73282e8129f0bae5bb8c2a56520c7d8b2bc310a2 (patch)
treef87caec4abbe7a7180b0cfa078d616c1cfa4c673 /java/lint.go
parent4081f58abb2e946147aada9218b432642812aa5c (diff)
parent246b43049c88572de399648718f70a28d3b245ba (diff)
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main am: 246b43049c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3216676 Change-Id: Ib0d8eb66616fa4775e3827b4956ad19034bf1cc8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java/lint.go')
-rw-r--r--java/lint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/lint.go b/java/lint.go
index 2eea07d31..6782adc5f 100644
--- a/java/lint.go
+++ b/java/lint.go
@@ -650,7 +650,7 @@ func (l *lintSingleton) generateLintReportZips(ctx android.SingletonContext) {
}
if apex, ok := m.(android.ApexModule); ok && apex.NotAvailableForPlatform() {
- apexInfo, _ := android.SingletonModuleProvider(ctx, m, android.ApexInfoProvider)
+ apexInfo, _ := android.OtherModuleProvider(ctx, m, android.ApexInfoProvider)
if apexInfo.IsForPlatform() {
// There are stray platform variants of modules in apexes that are not available for
// the platform, and they sometimes can't be built. Don't depend on them.