1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/extensions/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,63 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 +# You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +ifdef MOZ_METRO 1.9 +GENERATED_DIRS = $(DIST)/bin/metro/chrome 1.10 +endif 1.11 + 1.12 +include $(topsrcdir)/config/rules.mk 1.13 + 1.14 +exclude_files = \ 1.15 + test \ 1.16 + install.rdf \ 1.17 + bootstrap.js \ 1.18 + icon.png \ 1.19 + icon64.png \ 1.20 + $(NULL) 1.21 + 1.22 +$(FINAL_TARGET)/chrome/pdfjs.manifest: $(GLOBAL_DEPS) 1.23 + printf 'manifest pdfjs/chrome.manifest' > $@ 1.24 + 1.25 +libs:: $(FINAL_TARGET)/chrome/pdfjs.manifest 1.26 + $(PYTHON) $(topsrcdir)/config/nsinstall.py \ 1.27 + $(srcdir)/pdfjs \ 1.28 + $(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \ 1.29 + $(FINAL_TARGET)/chrome 1.30 + $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'manifest chrome/pdfjs.manifest') 1.31 + 1.32 +ifdef NIGHTLY_BUILD 1.33 +$(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) 1.34 + printf 'manifest shumway/chrome.manifest' > $@ 1.35 + 1.36 +libs:: $(FINAL_TARGET)/chrome/shumway.manifest 1.37 + $(PYTHON) $(topsrcdir)/config/nsinstall.py \ 1.38 + $(srcdir)/shumway \ 1.39 + $(foreach exclude,$(exclude_files), -X $(srcdir)/shumway/$(exclude)) \ 1.40 + $(FINAL_TARGET)/chrome 1.41 + $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'manifest chrome/shumway.manifest') 1.42 +endif 1.43 + 1.44 +ifdef MOZ_METRO 1.45 +ifdef NIGHTLY_BUILD 1.46 +$(DIST)/bin/metro/chrome/pdfjs.manifest: $(GLOBAL_DEPS) 1.47 + printf 'manifest pdfjs/chrome.manifest' > $@ 1.48 + 1.49 +libs:: $(DIST)/bin/metro/chrome/pdfjs.manifest 1.50 + $(PYTHON) $(topsrcdir)/config/nsinstall.py \ 1.51 + $(srcdir)/pdfjs \ 1.52 + $(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \ 1.53 + $(DIST)/bin/metro/chrome 1.54 + $(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/pdfjs.manifest') 1.55 + 1.56 +$(DIST)/bin/metro/chrome/shumway.manifest: $(GLOBAL_DEPS) 1.57 + printf 'manifest shumway/chrome.manifest' > $@ 1.58 + 1.59 +libs:: $(DIST)/bin/metro/chrome/shumway.manifest 1.60 + $(PYTHON) $(topsrcdir)/config/nsinstall.py \ 1.61 + $(srcdir)/shumway \ 1.62 + $(foreach exclude,$(exclude_files), -X $(srcdir)/shumway/$(exclude)) \ 1.63 + $(DIST)/bin/metro/chrome 1.64 + $(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/shumway.manifest') 1.65 +endif 1.66 +endif