summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
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 f84993de7..220a8c6a4 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -587,7 +587,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(),