summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-19 14:36:43 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-19 14:36:43 -0800
commita3dc4284760a8d5977db043ac44972845c58a3cf (patch)
treeb5341a9407da34e0c4fa7e739d8bb0f203f265f1 /filesystem/filesystem.go
parent435752edcdc4d03db20558b59664e759afa60436 (diff)
parent5db2f3ea7ec4a41f60d6e94870c99239e4035506 (diff)
Merge "Fix nondeterministic FullInstallPathInfo list" into main
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index 40a460b31..1ce6131aa 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -600,7 +600,8 @@ func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) {
specs := f.gatherFilteredPackagingSpecs(ctx)
var fullInstallPaths []FullInstallPathInfo
- for _, spec := range specs {
+ for _, specRel := range android.SortedKeys(specs) {
+ spec := specs[specRel]
fullInstallPaths = append(fullInstallPaths, FullInstallPathInfo{
FullInstallPath: spec.FullInstallPath(),
RequiresFullInstall: spec.RequiresFullInstall(),