mail/branding/branding-common.mozbuild
author Rob Lemley <rob@thunderbird.net>
Tue, 14 Apr 2020 22:24:32 +0000
changeset 37945 46d32cfff30ff3d8ad4aeeb10f557283b44c10ee
parent 35626 8b1270a5cecb91583e6ab520feedb8176eda095d
child 40349 6fe08c0e66a2b1aeff9880680055dfa70e585445
permissions -rw-r--r--
Bug 1621782 - Import zlib sources into comm-central. r=kaie Zlib is a required dependency for RNP which will not be present on all operating systems that we support. Differential Revision: https://phabricator.services.mozilla.com/D70734

# -*- 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 ThunderbirdBranding():
    JS_PREFERENCE_FILES += [
        'thunderbird-branding.js',
    ]

    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',
            'TB-symbolic.svg',
        ]