summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-10-18 21:59:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-18 21:59:05 +0000
commit6a9357d1f74d04cc5c96f52ce02af352d043ed72 (patch)
treeb88feebef9b4ec06e0f2ae5921c021cabdbdf0a5 /filesystem/filesystem.go
parent786d7baa1fb81176097d010507b3fd7616d36df1 (diff)
parent8a49643e6b727490898ea94b41667eecf24685f2 (diff)
Merge "Use a partition packaging spec filter for android_filesystem" 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 4bdd0a4c7..9756b821b 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -264,7 +264,7 @@ func (f *filesystem) partitionName() string {
func (f *filesystem) filterInstallablePackagingSpec(ps android.PackagingSpec) bool {
// Filesystem module respects the installation semantic. A PackagingSpec from a module with
// IsSkipInstall() is skipped.
- return !ps.SkipInstall()
+ return !ps.SkipInstall() && (ps.Partition() == f.PartitionType())
}
var pctx = android.NewPackageContext("android/soong/filesystem")