summaryrefslogtreecommitdiffstats
path: root/browser/branding/shared/branding.mozbuild
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
commit8a119434ac94d18b888550bea1b125aba1ad446e (patch)
tree52b0e3bb47f74253f3f97f5f7f9e297edd4dc335 /browser/branding/shared/branding.mozbuild
parent050cfdc4cabb50df1a3f0005e967359dc800131e (diff)
parent170b82c2e254d3aa9b4e5f31f26dc89283a472a6 (diff)
downloadUXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.gz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.lz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.xz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.zip
Merge branch 'stub-branding-cc'
Diffstat (limited to 'browser/branding/shared/branding.mozbuild')
-rw-r--r--browser/branding/shared/branding.mozbuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/browser/branding/shared/branding.mozbuild b/browser/branding/shared/branding.mozbuild
new file mode 100644
index 000000000..29d25094f
--- /dev/null
+++ b/browser/branding/shared/branding.mozbuild
@@ -0,0 +1,56 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# 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/.
+
+@template
+def ApplicationBranding():
+ JS_PREFERENCE_PP_FILES += [
+ 'pref/firefox-branding.js',
+ ]
+
+ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+ FINAL_TARGET_FILES['..'] += [
+ 'basilisk.VisualElementsManifest.xml',
+ ]
+ FINAL_TARGET_FILES.VisualElements += [
+ 'VisualElements_150.png',
+ 'VisualElements_70.png',
+ ]
+ BRANDING_FILES += [
+ '../shared/newtab.ico',
+ '../shared/newwindow.ico',
+ '../shared/pbmode.ico',
+ 'appname.bmp',
+ 'branding.nsi',
+ 'document.ico',
+ 'firefox.ico',
+ 'wizHeader.bmp',
+ 'wizHeaderRTL.bmp',
+ 'wizWatermark.bmp',
+ ]
+ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
+ BRANDING_FILES += [
+ '../shared/dsstore',
+ 'disk.icns',
+ 'document.icns',
+ 'background.png',
+ 'firefox.icns',
+ ]
+ elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
+ BRANDING_FILES += [
+ 'default16.png',
+ 'default32.png',
+ 'default48.png',
+ 'mozicon128.png',
+ ]
+ FINAL_TARGET_FILES.icons += ['mozicon128.png']
+ FINAL_TARGET_FILES.chrome.icons.default += [
+ 'default16.png',
+ 'default32.png',
+ 'default48.png',
+ ]
+ DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
+ DEFINES['MOZ_BRANDING_DIRECTORY'] = CONFIG['MOZ_BRANDING_DIRECTORY']
+ DEFINES['MOZILLA_UAVERSION_U'] = CONFIG['MOZILLA_UAVERSION_U'] \ No newline at end of file