Make generated library SDK snapshots determinstic am: 2c033610e2 am: c16e34e85e am: f4e815c868

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

Change-Id: I40c348710f9a1e7dcaa6b3ae7c110d982d922205
This commit is contained in:
Colin Cross
2020-09-12 19:15:37 +00:00
committed by Automerger Merge Worker

View File

@@ -291,8 +291,8 @@ func addPossiblyArchSpecificProperties(sdkModuleContext android.ModuleContext, b
}
// Add the collated include dir properties to the output.
for property, dirs := range includeDirs {
outputProperties.AddProperty(property, dirs)
for _, property := range android.SortedStringKeys(includeDirs) {
outputProperties.AddProperty(property, includeDirs[property])
}
if len(libInfo.StubsVersion) > 0 {