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

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1418533

Change-Id: I42df02457960f99d3257d131524d8005e2c7a97e
This commit is contained in:
Treehugger Robot 2020-09-04 01:17:25 +00:00 committed by Automerger Merge Worker
commit da55e8208f

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 {