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