summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-12-05 02:20:54 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-12-05 02:20:54 +0000
commit58aa83815dea958b49c5dc738cd8b31dce5dd8e2 (patch)
tree54a37cbd85039ee9c079fa7e26ebde5e88c17793 /filesystem/filesystem.go
parent8759130e8748bac58be78217c3f5f5224ce1eb32 (diff)
parentecf667f8ba0b758324d96efd1b9ced37256ad612 (diff)
Merge "Remove cross partition modules from provideLibs" into main
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index b6b4cb78a..d49ac1fca 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -1012,7 +1012,7 @@ func (f *filesystem) getLibsForLinkerConfig(ctx android.ModuleContext) ([]androi
ctx.WalkDeps(func(child, parent android.Module) bool {
for _, ps := range android.OtherModuleProviderOrDefault(
ctx, child, android.InstallFilesProvider).PackagingSpecs {
- if _, ok := deps[ps.RelPathInPackage()]; ok {
+ if _, ok := deps[ps.RelPathInPackage()]; ok && ps.Partition() == f.PartitionType() {
modulesInPackageByModule[child] = true
modulesInPackageByName[child.Name()] = true
return true