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']
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests/browser']
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'StartupTimeline.h',
|
|
|
|
]
|
|
|
|
|
2013-04-29 11:49:00 -07:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
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
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'os2':
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsUserInfoOS2.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['OS_ARCH'] == 'WINNT':
|
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-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-06-07 08:43:39 -07:00
|
|
|
'nsUserInfoMac.mm',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
else:
|
2013-10-24 16:23:05 -07:00
|
|
|
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
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'toolkitcomps'
|