suite/shell/src/moz.build
author Philipp Kewisch <mozilla@kewis.ch>
Mon, 26 Feb 2018 13:30:06 +0100
changeset 59352 c7fe8ceb6756fbf210ebb9a62c142660bfc11173
parent 58459 b866cf8e5eb40f3f338e5ce99b0f0c81225f4a5f
permissions -rw-r--r--
Bug 1439275 - Enable cak locale for Thunderbird. r=me MozReview-Commit-ID: AQgCsfQ8PLK

# 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/.

if CONFIG['OS_ARCH'] == 'WINNT':
    SOURCES += [
        'nsWindowsShellService.cpp',
    ]
    LOCAL_INCLUDES += [
        '/%s/other-licenses/nsis/Contrib/CityHash/cityhash' % (CONFIG['mozreltopsrcdir'],),
    ]
    OS_LIBS += [
        'ole32',
        'version',
        'uuid',
        'shell32',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    SOURCES += ['nsMacShellService.cpp']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
    SOURCES += ['nsGNOMEShellService.cpp']

if SOURCES:
    EXTRA_COMPONENTS += [
        'nsSetDefault.js',
        'nsSetDefault.manifest',
    ]

FINAL_LIBRARY = 'suite'

CXXFLAGS += CONFIG['TK_CFLAGS']