2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
include $(topsrcdir)/config/config.mk
|
2012-09-10 13:34:17 -07:00
|
|
|
|
|
|
|
PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js
|
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
# On Windows only do this step for browser, skip for metro.
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
firefox.ico \
|
|
|
|
document.ico \
|
|
|
|
branding.nsi \
|
2012-09-28 15:46:22 -07:00
|
|
|
appname.bmp \
|
|
|
|
bgintro.bmp \
|
|
|
|
bgplain.bmp \
|
|
|
|
clock.bmp \
|
|
|
|
particles.bmp \
|
|
|
|
pencil.bmp \
|
|
|
|
pencil-rtl.bmp \
|
2012-09-10 13:34:17 -07:00
|
|
|
wizHeader.bmp \
|
|
|
|
wizHeaderRTL.bmp \
|
|
|
|
wizWatermark.bmp \
|
|
|
|
newwindow.ico \
|
|
|
|
newtab.ico \
|
|
|
|
pbmode.ico \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
background.png \
|
|
|
|
firefox.icns \
|
|
|
|
disk.icns \
|
|
|
|
document.icns \
|
|
|
|
dsstore \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-06-11 10:40:28 -07:00
|
|
|
ifdef MOZ_WIDGET_GTK
|
2013-02-12 12:51:23 -08:00
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
default16.png \
|
|
|
|
default32.png \
|
|
|
|
default48.png \
|
|
|
|
mozicon128.png \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
firefox-os2.ico \
|
|
|
|
document-os2.ico \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2013-02-12 12:51:23 -08:00
|
|
|
|
|
|
|
BRANDING_DEST := $(DIST)/branding
|
2013-02-22 13:45:00 -08:00
|
|
|
BRANDING_TARGET := export
|
2013-02-12 12:51:23 -08:00
|
|
|
INSTALL_TARGETS += BRANDING
|
|
|
|
|
2013-02-25 06:33:56 -08: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
|