Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c033610 authored by Colin Cross's avatar Colin Cross
Browse files

Make generated library SDK snapshots determinstic

Sort the include dir properties before printing them out of a map.

Test: m checkbuild
Change-Id: Ia924158755983631259ef0b53c369666de4e1d23
parent 05175c40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {