Make generated library SDK snapshots determinstic
Sort the include dir properties before printing them out of a map. Test: m checkbuild Change-Id: Ia924158755983631259ef0b53c369666de4e1d23
This commit is contained in:
@@ -291,8 +291,8 @@ func addPossiblyArchSpecificProperties(sdkModuleContext android.ModuleContext, b
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add the collated include dir properties to the output.
|
// Add the collated include dir properties to the output.
|
||||||
for property, dirs := range includeDirs {
|
for _, property := range android.SortedStringKeys(includeDirs) {
|
||||||
outputProperties.AddProperty(property, dirs)
|
outputProperties.AddProperty(property, includeDirs[property])
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(libInfo.StubsVersion) > 0 {
|
if len(libInfo.StubsVersion) > 0 {
|
||||||
|
Reference in New Issue
Block a user