2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-02-26 21:53:31 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2015-12-23 08:30:32 +00:00
|
|
|
@template
|
|
|
|
def FirefoxBranding():
|
|
|
|
JS_PREFERENCE_FILES += [
|
|
|
|
'pref/firefox-branding.js',
|
2015-02-26 21:53:31 +00:00
|
|
|
]
|
2015-12-23 08:30:32 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2016-07-01 10:03:00 +00:00
|
|
|
FINAL_TARGET_FILES['..'] += [
|
|
|
|
'firefox.VisualElementsManifest.xml',
|
|
|
|
]
|
|
|
|
FINAL_TARGET_FILES.VisualElements += [
|
|
|
|
'VisualElements_150.png',
|
|
|
|
'VisualElements_70.png',
|
|
|
|
]
|
2015-12-23 08:30:32 +00:00
|
|
|
BRANDING_FILES += [
|
|
|
|
'appname.bmp',
|
|
|
|
'bgintro.bmp',
|
|
|
|
'branding.nsi',
|
|
|
|
'clock.bmp',
|
|
|
|
'document.ico',
|
|
|
|
'firefox.ico',
|
|
|
|
'newtab.ico',
|
|
|
|
'newwindow.ico',
|
|
|
|
'particles.bmp',
|
|
|
|
'pbmode.ico',
|
|
|
|
'pencil-rtl.bmp',
|
|
|
|
'pencil.bmp',
|
|
|
|
'wizHeader.bmp',
|
|
|
|
'wizHeaderRTL.bmp',
|
|
|
|
'wizWatermark.bmp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
BRANDING_FILES += [
|
|
|
|
'background.png',
|
|
|
|
'disk.icns',
|
|
|
|
'document.icns',
|
|
|
|
'dsstore',
|
|
|
|
'firefox.icns',
|
|
|
|
]
|
2016-03-16 05:06:26 +00:00
|
|
|
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
2015-12-23 08:30:32 +00:00
|
|
|
BRANDING_FILES += [
|
|
|
|
'default16.png',
|
|
|
|
'default32.png',
|
|
|
|
'default48.png',
|
|
|
|
'mozicon128.png',
|
|
|
|
]
|
2016-04-14 18:40:33 +00:00
|
|
|
FINAL_TARGET_FILES.icons += ['mozicon128.png']
|
|
|
|
FINAL_TARGET_FILES.chrome.icons.default += [
|
|
|
|
'default16.png',
|
|
|
|
'default32.png',
|
|
|
|
'default48.png',
|
|
|
|
]
|