2018-01-19 03:59:58 +08:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
|
# 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']
|
|
|
|
|
|
2020-02-25 15:07:00 -05:00
|
|
|
EXPORTS.mozilla += ['StartupTimeline.h']
|
2018-01-19 03:59:58 +08:00
|
|
|
|
2022-04-28 14:21:17 -05:00
|
|
|
SOURCES += [
|
2018-01-19 03:59:58 +08:00
|
|
|
'nsAppStartup.cpp',
|
|
|
|
|
'StartupTimeline.cpp',
|
|
|
|
|
]
|
|
|
|
|
|
2018-10-25 18:12:58 -04:00
|
|
|
if CONFIG['MOZ_USERINFO']:
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
|
# This file cannot be built in unified mode because of name clashes with Windows headers.
|
|
|
|
|
SOURCES += ['nsUserInfoWin.cpp']
|
2022-04-26 11:34:08 -05:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2022-04-28 14:21:17 -05:00
|
|
|
SOURCES += ['nsUserInfoMac.mm']
|
2018-10-25 18:12:58 -04:00
|
|
|
else:
|
2022-04-28 14:21:17 -05:00
|
|
|
SOURCES += ['nsUserInfoUnix.cpp']
|
2018-01-19 03:59:58 +08:00
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|