summaryrefslogtreecommitdiff
path: root/other-licenses/branding/borealis/release/moz.build
blob: a1b43bd5d2970434d1bbe9d487baf1d31f69dd12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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/.

JAR_MANIFESTS += ['jar.mn']

BRANDING_FILES += ['license.txt']

JS_PREFERENCE_PP_FILES += ['pref/application-branding.js']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    BRANDING_FILES += [
        'icons/windows/borealis.ico',
        'icons/windows/html-file.ico',
        'package/windows/branding.nsi',
        'package/windows/wizHeader.bmp',
        'package/windows/wizHeaderRTL.bmp',
        'package/windows/wizWatermark.bmp',
    ]

    FINAL_TARGET_FILES.chrome.icons.default += [
        'icons/windows/html-file.ico',
        'icons/windows/main-window.ico'
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
    FINAL_TARGET_FILES.chrome.icons.default += [
        'icons/gtk/borealis.png',
        'icons/gtk/default.png',
        'icons/gtk/document.png',
        'icons/gtk/main-window.png',
    ]

DEFINES['MOZ_APP_NAME'] = CONFIG['MOZ_APP_NAME']
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
DEFINES['MOZ_BRANDING_DIRECTORY'] = CONFIG['MOZ_BRANDING_DIRECTORY']
DEFINES['MOZILLA_UAVERSION_U'] = CONFIG['MOZILLA_UAVERSION_U']
DEFINES['MOZILLA_COMPATVERSION_U'] = "52.9"