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