Iterate <uses-library> in deterministic order in manifest_fixer.

Bug: 132357300
Test: lunch cf_x86_phone-userdebug && m
Change-Id: Ideb7e0f7beae8c80561f841b8ce9129003f1aa96
This commit is contained in:
Ulya Trafimovich 2020-09-03 15:52:01 +01:00
parent 4f78c512d4
commit d2c7ddc82a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func manifestFixer(ctx android.ModuleContext, manifest android.Path, sdkContext
args = append(args, "--use-embedded-dex")
}
for usesLib, _ := range sdkLibraries {
for _, usesLib := range android.SortedStringKeys(sdkLibraries) {
if inList(usesLib, optionalUsesLibs) {
args = append(args, "--optional-uses-library", usesLib)
} else {