2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2006-07-07 09:30:41 +04:00
|
|
|
|
2013-02-13 00:51:23 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
2012-09-11 00:34:17 +04:00
|
|
|
|
|
|
|
PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js
|
|
|
|
|
2013-02-13 00:51:23 +04:00
|
|
|
# On Windows only do this step for browser, skip for metro.
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser)
|
|
|
|
BRANDING_FILES := \
|
2012-09-11 00:34:17 +04:00
|
|
|
firefox.ico \
|
|
|
|
document.ico \
|
|
|
|
branding.nsi \
|
2012-09-29 02:46:22 +04:00
|
|
|
appname.bmp \
|
|
|
|
bgintro.bmp \
|
|
|
|
bgplain.bmp \
|
|
|
|
clock.bmp \
|
|
|
|
particles.bmp \
|
|
|
|
pencil.bmp \
|
|
|
|
pencil-rtl.bmp \
|
2012-09-11 00:34:17 +04:00
|
|
|
wizHeader.bmp \
|
|
|
|
wizHeaderRTL.bmp \
|
|
|
|
wizWatermark.bmp \
|
|
|
|
newwindow.ico \
|
|
|
|
newtab.ico \
|
|
|
|
pbmode.ico \
|
|
|
|
$(NULL)
|
2013-02-13 00:51:23 +04:00
|
|
|
endif
|
2012-09-11 00:34:17 +04:00
|
|
|
|
2013-02-13 00:51:23 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
BRANDING_FILES := \
|
2012-09-11 00:34:17 +04:00
|
|
|
background.png \
|
|
|
|
firefox.icns \
|
|
|
|
disk.icns \
|
|
|
|
document.icns \
|
|
|
|
dsstore \
|
|
|
|
$(NULL)
|
2013-02-13 00:51:23 +04:00
|
|
|
endif
|
2012-09-11 00:34:17 +04:00
|
|
|
|
2013-06-11 21:40:28 +04:00
|
|
|
ifdef MOZ_WIDGET_GTK
|
2013-02-13 00:51:23 +04:00
|
|
|
BRANDING_FILES := \
|
2012-09-11 00:34:17 +04:00
|
|
|
default16.png \
|
|
|
|
default32.png \
|
|
|
|
default48.png \
|
|
|
|
mozicon128.png \
|
|
|
|
$(NULL)
|
2013-02-13 00:51:23 +04:00
|
|
|
endif
|
2012-09-11 00:34:17 +04:00
|
|
|
|
2013-02-13 00:51:23 +04:00
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
BRANDING_FILES := \
|
2012-09-11 00:34:17 +04:00
|
|
|
firefox-os2.ico \
|
|
|
|
document-os2.ico \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2013-02-13 00:51:23 +04:00
|
|
|
|
|
|
|
BRANDING_DEST := $(DIST)/branding
|
2013-02-23 01:45:00 +04:00
|
|
|
BRANDING_TARGET := export
|
2013-02-13 00:51:23 +04:00
|
|
|
INSTALL_TARGETS += BRANDING
|
|
|
|
|
2013-02-25 18:33:56 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows metro)
|
|
|
|
VISUALMANIFEST := VisualElementsManifest.xml
|
|
|
|
VISUALMANIFEST_FLAGS := -Fsubstitution -DMOZ_APP_DISPLAYNAME=${MOZ_APP_DISPLAYNAME}
|
|
|
|
VISUALMANIFEST_PATH := $(DIST)/bin
|
|
|
|
PP_TARGETS += VISUALMANIFEST
|
|
|
|
endif
|