2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-02-27 00:53:31 +03: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 11:30:32 +03:00
|
|
|
@template
|
|
|
|
def FirefoxBranding():
|
2018-02-10 04:48:05 +03:00
|
|
|
if CONFIG['MOZ_BRANDING_DIRECTORY'] == 'browser/branding/official':
|
|
|
|
JS_PREFERENCE_PP_FILES += [
|
|
|
|
'pref/firefox-branding.js',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
JS_PREFERENCE_FILES += [
|
|
|
|
'pref/firefox-branding.js',
|
|
|
|
]
|
2015-12-23 11:30:32 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2016-07-01 13:03:00 +03:00
|
|
|
FINAL_TARGET_FILES['..'] += [
|
|
|
|
'firefox.VisualElementsManifest.xml',
|
2022-08-03 16:49:04 +03:00
|
|
|
'private_browsing.VisualElementsManifest.xml',
|
2016-07-01 13:03:00 +03:00
|
|
|
]
|
|
|
|
FINAL_TARGET_FILES.VisualElements += [
|
2022-08-03 16:49:04 +03:00
|
|
|
'PrivateBrowsing_150.png',
|
|
|
|
'PrivateBrowsing_70.png',
|
2016-07-01 13:03:00 +03:00
|
|
|
'VisualElements_150.png',
|
|
|
|
'VisualElements_70.png',
|
|
|
|
]
|
2019-08-21 15:25:42 +03:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
2016-04-14 21:40:33 +03:00
|
|
|
FINAL_TARGET_FILES.chrome.icons.default += [
|
2017-11-10 06:34:36 +03:00
|
|
|
'default128.png',
|
2016-04-14 21:40:33 +03:00
|
|
|
'default16.png',
|
|
|
|
'default32.png',
|
|
|
|
'default48.png',
|
2017-11-10 06:34:36 +03:00
|
|
|
'default64.png',
|
2016-04-14 21:40:33 +03:00
|
|
|
]
|