michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DIRS += ['public'] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'StartupTimeline.h', michael@0: ] michael@0: michael@0: BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini'] michael@0: XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini'] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsAppStartup.cpp', michael@0: 'StartupTimeline.cpp', michael@0: ] michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: # This file cannot be built in unified mode because of name clashes with Windows headers. michael@0: SOURCES += [ michael@0: 'nsUserInfoWin.cpp', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: UNIFIED_SOURCES += [ michael@0: 'nsUserInfoMac.mm', michael@0: ] michael@0: else: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsUserInfoUnix.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: FINAL_LIBRARY = 'toolkitcomps'