Bug 1409583 - Create built_in_addons.json in a deterministic manner. r?chmanchester draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 18 Oct 2017 08:57:03 +0900
changeset 681990 c8dfa81166d181107d849c2b05658ffec004a938
parent 681924 4ab57bf53b59580601ee7398be3265473e31fb01
child 736276 5d16a5943ef4d69a3f21ebb77d88005cf516058b
push id84975
push userbmo:mh+mozilla@glandium.org
push dateTue, 17 Oct 2017 23:57:45 +0000
reviewerschmanchester
bugs1409583
milestone58.0a1
Bug 1409583 - Create built_in_addons.json in a deterministic manner. r?chmanchester
browser/app/Makefile.in
--- a/browser/app/Makefile.in
+++ b/browser/app/Makefile.in
@@ -102,9 +102,9 @@ ifdef MOZ_UPDATER
 	mv -f $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater $(dist_dest)/Contents/Library/LaunchServices
 	ln -s ../../../../Library/LaunchServices/org.mozilla.updater $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater
 endif
 	printf APPLMOZB > $(dist_dest)/Contents/PkgInfo
 endif
 
 .PHONY: features
 tools features::
-	$(PYTHON) -c 'import os, json; listing = {"system": os.listdir("$(DIST)/bin/browser/features")}; print json.dumps(listing)' > $(DIST)/bin/browser/chrome/browser/content/browser/built_in_addons.json
+	$(PYTHON) -c 'import os, json; listing = {"system": sorted(os.listdir("$(DIST)/bin/browser/features"))}; print json.dumps(listing)' > $(DIST)/bin/browser/chrome/browser/content/browser/built_in_addons.json