Bug 1348981 - provide a list of valid system add-ons for packaging r?glandium draft
authorRobert Helmer <rhelmer@mozilla.com>
Wed, 13 Sep 2017 22:49:43 -0700
changeset 664964 0e72fb343382a9fbd35761fbe8557eef11663681
parent 664491 c15e2f280729b6503f9455cd4448ab2852eb5806
child 664965 755bfc29df3dc0d9bff618ce1338b15aab83aa07
push id79880
push userbmo:rhelmer@mozilla.com
push dateThu, 14 Sep 2017 18:01:28 +0000
reviewersglandium
bugs1348981
milestone57.0a1
Bug 1348981 - provide a list of valid system add-ons for packaging r?glandium MozReview-Commit-ID: K2jCHBBJBqw
browser/app/Makefile.in
--- a/browser/app/Makefile.in
+++ b/browser/app/Makefile.in
@@ -99,8 +99,12 @@ tools repackage:: $(DIST)/bin/$(MOZ_APP_
 	cp -RL $(DIST)/branding/document.icns $(dist_dest)/Contents/Resources/document.icns
 	$(MKDIR) -p $(dist_dest)/Contents/Library/LaunchServices
 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.js