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:
parent
4f78c512d4
commit
d2c7ddc82a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue