suite/shell/src/moz.build
author Jorg K <jorgk@jorgk.com>
Tue, 25 Apr 2017 13:04:26 +0200
changeset 21475 6839a3336715fec96d5d449be6eeccdc95eb8519
parent 21339 dbf5733f62d32f097ada3145ad23b8146db17827
child 22771 51ec1985ad3a8485e5c957af3930e5d0322c36e8
permissions -rw-r--r--
Bug 1359364 - Port Bug 1358790 to C-C: compile city.cpp in toolkit/xre/ so it doesn't depend on suite. rs+a=bustage-fix DONTBUILD

# 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 += [
        '../../../mozilla/other-licenses/nsis/Contrib/CityHash/cityhash',
    ]
    OS_LIBS += [
        'ole32',
        'version',
        'uuid',
        'shell32',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    SOURCES += ['nsMacShellService.cpp']
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    SOURCES += ['nsGNOMEShellService.cpp']

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

FINAL_LIBRARY = 'suite'

CXXFLAGS += CONFIG['TK_CFLAGS']