summaryrefslogtreecommitdiffstats
path: root/toolkit/components/startup/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/startup/moz.build')
-rw-r--r--toolkit/components/startup/moz.build21
1 files changed, 13 insertions, 8 deletions
diff --git a/toolkit/components/startup/moz.build b/toolkit/components/startup/moz.build
index 5f290b783..dbd580384 100644
--- a/toolkit/components/startup/moz.build
+++ b/toolkit/components/startup/moz.build
@@ -18,14 +18,19 @@ UNIFIED_SOURCES += [
'StartupTimeline.cpp',
]
-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']
- elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
- UNIFIED_SOURCES += ['nsUserInfoMac.mm']
- else:
- UNIFIED_SOURCES += ['nsUserInfoUnix.cpp']
+if CONFIG['OS_ARCH'] == 'WINNT':
+ # This file cannot be built in unified mode because of name clashes with Windows headers.
+ SOURCES += [
+ 'nsUserInfoWin.cpp',
+ ]
+elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
+ UNIFIED_SOURCES += [
+ 'nsUserInfoMac.mm',
+ ]
+else:
+ UNIFIED_SOURCES += [
+ 'nsUserInfoUnix.cpp',
+ ]
FINAL_LIBRARY = 'xul'