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 |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | include $(topsrcdir)/config/config.mk |
michael@0 | 6 | |
michael@0 | 7 | PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js |
michael@0 | 8 | |
michael@0 | 9 | # On Windows only do this step for browser, skip for metro. |
michael@0 | 10 | ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser) |
michael@0 | 11 | BRANDING_FILES := \ |
michael@0 | 12 | firefox.ico \ |
michael@0 | 13 | document.ico \ |
michael@0 | 14 | branding.nsi \ |
michael@0 | 15 | appname.bmp \ |
michael@0 | 16 | bgintro.bmp \ |
michael@0 | 17 | clock.bmp \ |
michael@0 | 18 | particles.bmp \ |
michael@0 | 19 | pencil.bmp \ |
michael@0 | 20 | pencil-rtl.bmp \ |
michael@0 | 21 | wizHeader.bmp \ |
michael@0 | 22 | wizHeaderRTL.bmp \ |
michael@0 | 23 | wizWatermark.bmp \ |
michael@0 | 24 | newwindow.ico \ |
michael@0 | 25 | newtab.ico \ |
michael@0 | 26 | pbmode.ico \ |
michael@0 | 27 | $(NULL) |
michael@0 | 28 | endif |
michael@0 | 29 | |
michael@0 | 30 | ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) |
michael@0 | 31 | BRANDING_FILES := \ |
michael@0 | 32 | background.png \ |
michael@0 | 33 | firefox.icns \ |
michael@0 | 34 | disk.icns \ |
michael@0 | 35 | document.icns \ |
michael@0 | 36 | dsstore \ |
michael@0 | 37 | $(NULL) |
michael@0 | 38 | endif |
michael@0 | 39 | |
michael@0 | 40 | ifdef MOZ_WIDGET_GTK |
michael@0 | 41 | BRANDING_FILES := \ |
michael@0 | 42 | default16.png \ |
michael@0 | 43 | default32.png \ |
michael@0 | 44 | default48.png \ |
michael@0 | 45 | mozicon128.png \ |
michael@0 | 46 | $(NULL) |
michael@0 | 47 | endif |
michael@0 | 48 | |
michael@0 | 49 | BRANDING_DEST := $(DIST)/branding |
michael@0 | 50 | BRANDING_TARGET := export |
michael@0 | 51 | INSTALL_TARGETS += BRANDING |
michael@0 | 52 | |
michael@0 | 53 | ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows metro) |
michael@0 | 54 | VISUALMANIFEST := VisualElementsManifest.xml |
michael@0 | 55 | VISUALMANIFEST_FLAGS := -Fsubstitution -DMOZ_APP_DISPLAYNAME=${MOZ_APP_DISPLAYNAME} |
michael@0 | 56 | VISUALMANIFEST_PATH := $(DIST)/bin |
michael@0 | 57 | PP_TARGETS += VISUALMANIFEST |
michael@0 | 58 | endif |