summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-14 15:56:03 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-14 15:56:03 -0700
commitf2aacebb28cf16f9c3fa4c59a9a9a931ab6b0846 (patch)
treeda660a6da02da57b771ebc1f7ea1bf3189a90c47 /filesystem/filesystem.go
parent5fe9b839b0b67218bcdfdbeec06b6813f040939e (diff)
parentf22120fb1da7f75a571966124bb0da6a57fd4f07 (diff)
Merge "Change CommonModuleInfoProvider to a pointer." into main
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index e44f2722e..b8548805b 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -1473,7 +1473,7 @@ func (f *filesystem) getLibsForLinkerConfig(ctx android.ModuleContext) ([]androi
deps := f.gatherFilteredPackagingSpecs(ctx)
ctx.WalkDepsProxy(func(child, parent android.ModuleProxy) bool {
- if !android.OtherModuleProviderOrDefault(ctx, child, android.CommonModuleInfoProvider).Enabled {
+ if !android.OtherModulePointerProviderOrDefault(ctx, child, android.CommonModuleInfoProvider).Enabled {
return false
}
for _, ps := range android.OtherModuleProviderOrDefault(
@@ -1494,7 +1494,7 @@ func (f *filesystem) getLibsForLinkerConfig(ctx android.ModuleContext) ([]androi
var requireModules []android.ModuleProxy
ctx.WalkDepsProxy(func(child, parent android.ModuleProxy) bool {
- if !android.OtherModuleProviderOrDefault(ctx, child, android.CommonModuleInfoProvider).Enabled {
+ if !android.OtherModulePointerProviderOrDefault(ctx, child, android.CommonModuleInfoProvider).Enabled {
return false
}
_, parentInPackage := modulesInPackageByModule[parent]