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

This commit is contained in:
Treehugger Robot 2020-09-04 00:45:48 +00:00 committed by Gerrit Code Review
commit bfb98ece49

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 {