mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Bug 1440789 - Create built_in_addons.json at package-time on mobile r=nalexander
--HG-- extra : rebase_source : 307839988addee10fa6e2d73978b0b6430b64564
This commit is contained in:
parent
10ae4a8271
commit
64d273c0bd
@ -80,3 +80,13 @@ DEFINES += -DBINPATH=$(BINPATH)
|
||||
ifdef ENABLE_MARIONETTE
|
||||
DEFINES += -DENABLE_MARIONETTE=1
|
||||
endif
|
||||
|
||||
.PHONY: features
|
||||
tools features::
|
||||
# Create a sorted list of built-in features. If the features
|
||||
# directory does not exist, then the recipe line returns true
|
||||
# because this is not a fatal error.
|
||||
#
|
||||
# This should determine the target directory using FINAL_TARGET and DIST_SUBDIR, but it doesn't yet for simplicity.
|
||||
$(PYTHON) -c 'import os, json; listing = {"system": sorted(os.listdir("$(DIST)/bin/features"))}; print json.dumps(listing)' > \
|
||||
$(DIST)/bin/chrome/chrome/content/built_in_addons.json || true
|
||||
|
Loading…
Reference in New Issue
Block a user