summaryrefslogtreecommitdiff
path: root/src/icedove-branding/moz.build
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2021-04-22 08:43:14 +0200
committerAndreas Grapentin <andreas@grapentin.org>2021-04-22 08:43:14 +0200
commit99d76899f593fc0867ed264aa652e785020ecfd8 (patch)
treecc3d91c7aefe81ac408a38beb0bc17448d4ddba7 /src/icedove-branding/moz.build
parenta0dee73c09470eb2d896d049b581aed6179b30cc (diff)
updated branding to 78.9wip-v78.5
Diffstat (limited to 'src/icedove-branding/moz.build')
-rw-r--r--src/icedove-branding/moz.build37
1 files changed, 26 insertions, 11 deletions
diff --git a/src/icedove-branding/moz.build b/src/icedove-branding/moz.build
index e53e1c4..626c0d2 100644
--- a/src/icedove-branding/moz.build
+++ b/src/icedove-branding/moz.build
@@ -7,15 +7,30 @@ DIRS += ['locales']
JAR_MANIFESTS += ['jar.mn']
-JS_PREFERENCE_FILES += ['thunderbird-branding.js']
+@template
+def ThunderbirdBranding():
+ JS_PREFERENCE_FILES += [
+ 'thunderbird-branding.js',
+ ]
-FINAL_TARGET_FILES.chrome.icons.default += [
- 'default128.png',
- 'default16.png',
- 'default22.png',
- 'default24.png',
- 'default256.png',
- 'default32.png',
- 'default48.png',
- 'default64.png',
-]
+ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+ FINAL_TARGET_FILES += [
+ 'thunderbird.VisualElementsManifest.xml',
+ ]
+ FINAL_TARGET_FILES.VisualElements += [
+ 'VisualElements_150.png',
+ 'VisualElements_70.png',
+ ]
+ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
+ FINAL_TARGET_FILES.chrome.icons.default += [
+ 'default128.png',
+ 'default16.png',
+ 'default22.png',
+ 'default24.png',
+ 'default256.png',
+ 'default32.png',
+ 'default48.png',
+ 'default64.png',
+ ]
+
+ThunderbirdBranding()