Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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