common/src/moz.build
author Jorg K <jorgk@jorgk.com>
Fri, 27 Sep 2019 11:52:07 +0200
changeset 36973 ddede6db83516288c25a8083879bdab02ce1b7b0
parent 35744 1fc57303ad6bd7a1dec39fed8c952c44c595bc0a
child 38152 3f3fc2c0d80474dff5953969f765e16937dde150
permissions -rw-r--r--
Bug 1584461 - Disabled Nightly builds. a=me CLOSED TREE

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

EXTRA_JS_MODULES += [
    'ChromeManifest.jsm',
    'ExtensionSupport.jsm',
    'Overlays.jsm',
]

SOURCES += [
    'nsCommonModule.cpp',
    'nsComponentManagerExtra.cpp',
]

if CONFIG['OS_ARCH'] == 'WINNT':
    # This file cannot be built in unified mode because of name clashes with Windows headers.
    SOURCES += [
        'nsUserInfoWin.cpp',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    SOURCES += [
        'nsUserInfoMac.mm',
    ]
else:
    SOURCES += [
        'nsUserInfoUnix.cpp',
    ]

LOCAL_INCLUDES += [
    '/%s/netwerk/base' % CONFIG['mozreltopsrcdir']
]

FINAL_LIBRARY = 'xul'

if CONFIG['MOZ_CALENDAR']:
    DEFINES['MOZ_CALENDAR'] = True