Bug 943990 - Build toolkit/components/startup in unified mode; r=bsmedberg

This commit is contained in:
Ehsan Akhgari 2013-12-03 15:49:02 -05:00
Родитель af0d0cacb2
Коммит 64e1750c51
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -14,7 +14,7 @@ EXPORTS.mozilla += [
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini'] XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
SOURCES += [ UNIFIED_SOURCES += [
'nsAppStartup.cpp', 'nsAppStartup.cpp',
'StartupTimeline.cpp', 'StartupTimeline.cpp',
] ]
@ -24,15 +24,16 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'os2':
'nsUserInfoOS2.cpp', 'nsUserInfoOS2.cpp',
] ]
elif CONFIG['OS_ARCH'] == 'WINNT': elif CONFIG['OS_ARCH'] == 'WINNT':
# This file cannot be built in unified mode because of name clashes with Windows headers.
SOURCES += [ SOURCES += [
'nsUserInfoWin.cpp', 'nsUserInfoWin.cpp',
] ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
SOURCES += [ UNIFIED_SOURCES += [
'nsUserInfoMac.mm', 'nsUserInfoMac.mm',
] ]
else: else:
SOURCES += [ UNIFIED_SOURCES += [
'nsUserInfoUnix.cpp', 'nsUserInfoUnix.cpp',
] ]