2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -08:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
DIRS += ['public']
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'StartupTimeline.h',
|
|
|
|
]
|
|
|
|
|
2014-02-06 13:00:20 -08:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|
2013-04-29 11:49:00 -07:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-12-03 12:49:02 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsAppStartup.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'StartupTimeline.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2014-02-10 14:57:01 -08:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-12-03 12:49:02 -08:00
|
|
|
# This file cannot be built in unified mode because of name clashes with Windows headers.
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsUserInfoWin.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2013-12-03 12:49:02 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-06-07 08:43:39 -07:00
|
|
|
'nsUserInfoMac.mm',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
else:
|
2013-12-03 12:49:02 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsUserInfoUnix.cpp',
|
|
|
|
]
|
2013-06-17 12:21:01 -07:00
|
|
|
|
2013-12-01 16:25:19 -08:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|