diff options
| author | 2024-05-15 23:01:54 +0900 | |
|---|---|---|
| committer | 2024-05-16 18:23:20 +0900 | |
| commit | 3ea9b659905b72332885a4d55527f8ee4bbc1326 (patch) | |
| tree | b69996e377ea4be2951779dfa0af99beaafd7854 /filesystem/filesystem.go | |
| parent | 162098358cb0b1fa90a8bdc4467c2b7eff9a2499 (diff) | |
filesystem modules gathers first target only
With this change, the deps property in filesystem modules gather the
first target of the filesystem module only.
To gather dependencies across both targets, use multilib.both.deps
instead.
Bug: N/A
Test: go test ./...
Change-Id: Ie2ff0c48f08c61c8b219fc2c1540476ff8e4b1fc
Diffstat (limited to 'filesystem/filesystem.go')
| -rw-r--r-- | filesystem/filesystem.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index d8a00e2c9..8b71e85c7 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -152,6 +152,7 @@ func filesystemFactory() android.Module { func initFilesystemModule(module *filesystem) { module.AddProperties(&module.properties) android.InitPackageModule(module) + module.PackagingBase.DepsCollectFirstTargetOnly = true android.InitAndroidMultiTargetsArchModule(module, android.DeviceSupported, android.MultilibCommon) android.InitDefaultableModule(module) } |