Bumping manifests a=b2g-bump
[gecko.git] / browser / extensions / Makefile.in
blob2e8d0166b85d736c39f3b3f3f30ed56d3be83ec1
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 ifdef MOZ_METRO
6 GENERATED_DIRS = $(DIST)/bin/metro/chrome
7 endif
9 include $(topsrcdir)/config/rules.mk
11 exclude_files = \
12 test \
13 install.rdf \
14 bootstrap.js \
15 icon.png \
16 icon64.png \
17 $(NULL)
19 $(FINAL_TARGET)/chrome/pdfjs.manifest: $(GLOBAL_DEPS)
20 printf 'manifest pdfjs/chrome.manifest' > $@
22 libs:: $(FINAL_TARGET)/chrome/pdfjs.manifest
23 $(PYTHON) $(topsrcdir)/config/nsinstall.py \
24 $(srcdir)/pdfjs \
25 $(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \
26 $(FINAL_TARGET)/chrome
27 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'manifest chrome/pdfjs.manifest')
29 ifdef NIGHTLY_BUILD
30 $(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS)
31 printf 'manifest shumway/chrome.manifest' > $@
33 libs:: $(FINAL_TARGET)/chrome/shumway.manifest
34 $(PYTHON) $(topsrcdir)/config/nsinstall.py \
35 $(srcdir)/shumway \
36 $(foreach exclude,$(exclude_files), -X $(srcdir)/shumway/$(exclude)) \
37 $(FINAL_TARGET)/chrome
38 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'manifest chrome/shumway.manifest')
39 endif
41 ifdef MOZ_METRO
42 ifdef NIGHTLY_BUILD
43 $(DIST)/bin/metro/chrome/pdfjs.manifest: $(GLOBAL_DEPS)
44 printf 'manifest pdfjs/chrome.manifest' > $@
46 libs:: $(DIST)/bin/metro/chrome/pdfjs.manifest
47 $(PYTHON) $(topsrcdir)/config/nsinstall.py \
48 $(srcdir)/pdfjs \
49 $(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \
50 $(DIST)/bin/metro/chrome
51 $(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/pdfjs.manifest')
53 $(DIST)/bin/metro/chrome/shumway.manifest: $(GLOBAL_DEPS)
54 printf 'manifest shumway/chrome.manifest' > $@
56 libs:: $(DIST)/bin/metro/chrome/shumway.manifest
57 $(PYTHON) $(topsrcdir)/config/nsinstall.py \
58 $(srcdir)/shumway \
59 $(foreach exclude,$(exclude_files), -X $(srcdir)/shumway/$(exclude)) \
60 $(DIST)/bin/metro/chrome
61 $(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/shumway.manifest')
62 endif
63 endif