Take nsSiteSecurityService out of UNIFIED_SOURCES

It exceeded the obj file sections limit because of the HSTS preload list so it cannot be built in UNIFIED mode.
This commit is contained in:
Matt A. Tobin 2020-03-25 01:02:52 -04:00 • committed by Roy Tam
commit 5010fed2fd

View file

@ -127,7 +127,6 @@ UNIFIED_SOURCES += [
'nsSecureBrowserUIImpl.cpp', 'nsSecureBrowserUIImpl.cpp',
'nsSecurityHeaderParser.cpp', 'nsSecurityHeaderParser.cpp',
'NSSErrorsService.cpp', 'NSSErrorsService.cpp',
'nsSiteSecurityService.cpp',
'nsSSLSocketProvider.cpp', 'nsSSLSocketProvider.cpp',
'nsSSLStatus.cpp', 'nsSSLStatus.cpp',
'nsTLSSocketProvider.cpp', 'nsTLSSocketProvider.cpp',
@ -141,6 +140,10 @@ UNIFIED_SOURCES += [
'WeakCryptoOverride.cpp', 'WeakCryptoOverride.cpp',
] ]
# nsSiteSecurityService exceeded the obj file sections limit because of the
# HSTS preload list so it cannot be built in UNIFIED mode.
SOURCES += ['nsSiteSecurityService.cpp']
IPDL_SOURCES += [ IPDL_SOURCES += [
'PPSMContentDownloader.ipdl', 'PPSMContentDownloader.ipdl',
] ]