1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/startup/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +DIRS += ['public'] 1.11 + 1.12 +EXPORTS.mozilla += [ 1.13 + 'StartupTimeline.h', 1.14 +] 1.15 + 1.16 +BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini'] 1.17 +XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini'] 1.18 + 1.19 +UNIFIED_SOURCES += [ 1.20 + 'nsAppStartup.cpp', 1.21 + 'StartupTimeline.cpp', 1.22 +] 1.23 + 1.24 +if CONFIG['OS_ARCH'] == 'WINNT': 1.25 + # This file cannot be built in unified mode because of name clashes with Windows headers. 1.26 + SOURCES += [ 1.27 + 'nsUserInfoWin.cpp', 1.28 + ] 1.29 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.30 + UNIFIED_SOURCES += [ 1.31 + 'nsUserInfoMac.mm', 1.32 + ] 1.33 +else: 1.34 + UNIFIED_SOURCES += [ 1.35 + 'nsUserInfoUnix.cpp', 1.36 + ] 1.37 + 1.38 +FAIL_ON_WARNINGS = True 1.39 + 1.40 +FINAL_LIBRARY = 'toolkitcomps'