mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
This commit is contained in:
parent
d8b0918278
commit
869d0af69a
@ -117,7 +117,6 @@ UNIFIED_SOURCES += [
|
||||
'DOMMediaStream.cpp',
|
||||
'EncodedBufferCache.cpp',
|
||||
'FileBlockCache.cpp',
|
||||
'Latency.cpp',
|
||||
'MediaCache.cpp',
|
||||
'MediaDecoder.cpp',
|
||||
'MediaDecoderReader.cpp',
|
||||
@ -144,8 +143,10 @@ UNIFIED_SOURCES += [
|
||||
]
|
||||
|
||||
# DecoderTraits.cpp needs to be built separately because of Mac OS X headers.
|
||||
# Latency.cpp needs to be built separately because it forces NSPR logging.
|
||||
SOURCES += [
|
||||
'DecoderTraits.cpp',
|
||||
'Latency.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
@ -51,7 +51,6 @@ UNIFIED_SOURCES += [
|
||||
'LoadContext.cpp',
|
||||
'nsAboutRedirector.cpp',
|
||||
'nsDefaultURIFixup.cpp',
|
||||
'nsDocShell.cpp',
|
||||
'nsDocShellEditorData.cpp',
|
||||
'nsDocShellEnumerator.cpp',
|
||||
'nsDocShellLoadInfo.cpp',
|
||||
@ -62,6 +61,11 @@ UNIFIED_SOURCES += [
|
||||
'SerializedLoadContext.cpp',
|
||||
]
|
||||
|
||||
# nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging.
|
||||
SOURCES += [
|
||||
'nsDocShell.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
@ -82,7 +82,6 @@ UNIFIED_SOURCES += [
|
||||
'nsFocusManager.cpp',
|
||||
'nsGlobalWindowCommands.cpp',
|
||||
'nsHistory.cpp',
|
||||
'nsJSEnvironment.cpp',
|
||||
'nsJSTimeoutHandler.cpp',
|
||||
'nsJSUtils.cpp',
|
||||
'nsLocation.cpp',
|
||||
@ -107,6 +106,8 @@ SOURCES += [
|
||||
'nsDOMWindowUtils.cpp',
|
||||
# This file has a #error "Never include windows.h in this file!"
|
||||
'nsGlobalWindow.cpp',
|
||||
# This file forces NSPR logging.
|
||||
'nsJSEnvironment.cpp',
|
||||
# nsPluginArray.cpp includes npapi.h indirectly, and that includes a lot of system headers
|
||||
'nsPluginArray.cpp',
|
||||
]
|
||||
|
@ -4,15 +4,11 @@
|
||||
# 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/.
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsAuthFactory.cpp',
|
||||
'nsAuthGSSAPI.cpp',
|
||||
'nsAuthSASL.cpp',
|
||||
]
|
||||
|
||||
# contains constants whose names conflict with constants in other files
|
||||
SOURCES += [
|
||||
'nsHttpNegotiateAuth.cpp',
|
||||
'nsAuthFactory.cpp', # forces NSPR logging
|
||||
'nsAuthGSSAPI.cpp', # forces NSPR logging
|
||||
'nsAuthSASL.cpp',
|
||||
'nsHttpNegotiateAuth.cpp', # contains constants whose names conflict with constants in other files
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
@ -21,8 +17,8 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
]
|
||||
DEFINES['USE_SSPI'] = True
|
||||
else:
|
||||
UNIFIED_SOURCES += [
|
||||
'nsAuthSambaNTLM.cpp',
|
||||
SOURCES += [
|
||||
'nsAuthSambaNTLM.cpp', # forces NSPR logging
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
@ -4,7 +4,8 @@
|
||||
# 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/.
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsAutoConfig.cpp',
|
||||
'nsConfigFactory.cpp',
|
||||
'nsJSConfigTriggers.cpp',
|
||||
|
@ -79,7 +79,6 @@ UNIFIED_SOURCES += [
|
||||
'nsCSSRenderingBorders.cpp',
|
||||
'nsDisplayList.cpp',
|
||||
'nsDisplayListInvalidation.cpp',
|
||||
'nsDocumentViewer.cpp',
|
||||
'nsFrameManager.cpp',
|
||||
'nsFrameTraversal.cpp',
|
||||
'nsGenConList.cpp',
|
||||
@ -87,7 +86,6 @@ UNIFIED_SOURCES += [
|
||||
'nsLayoutHistoryState.cpp',
|
||||
'nsLayoutUtils.cpp',
|
||||
'nsPresContext.cpp',
|
||||
'nsPresShell.cpp',
|
||||
'nsQuoteList.cpp',
|
||||
'nsStyleChangeList.cpp',
|
||||
'nsStyleSheetService.cpp',
|
||||
@ -98,10 +96,14 @@ UNIFIED_SOURCES += [
|
||||
'StackArena.cpp',
|
||||
]
|
||||
|
||||
# nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately
|
||||
# because they force NSPR logging.
|
||||
# nsPresArena.cpp needs to be built separately because it uses plarena.h.
|
||||
# nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
|
||||
SOURCES += [
|
||||
'nsDocumentViewer.cpp',
|
||||
'nsPresArena.cpp',
|
||||
'nsPresShell.cpp',
|
||||
'nsRefreshDriver.cpp',
|
||||
]
|
||||
|
||||
|
@ -180,7 +180,7 @@ nsStyleSheetService::LoadAndRegisterSheet(nsIURI *aSheetURI,
|
||||
return rv;
|
||||
}
|
||||
|
||||
ipc::URIParams uri;
|
||||
mozilla::ipc::URIParams uri;
|
||||
SerializeURI(aSheetURI, uri);
|
||||
|
||||
for (uint32_t i = 0; i < children.Length(); i++) {
|
||||
@ -268,7 +268,7 @@ nsStyleSheetService::UnregisterSheet(nsIURI *aSheetURI, uint32_t aSheetType)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
ipc::URIParams uri;
|
||||
mozilla::ipc::URIParams uri;
|
||||
SerializeURI(aSheetURI, uri);
|
||||
|
||||
for (uint32_t i = 0; i < children.Length(); i++) {
|
||||
|
@ -14,12 +14,16 @@ XPIDL_MODULE = 'layout_printing'
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPagePrintTimer.cpp',
|
||||
'nsPrintData.cpp',
|
||||
'nsPrintEngine.cpp',
|
||||
'nsPrintObject.cpp',
|
||||
'nsPrintPreviewListener.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsPrintData.cpp',
|
||||
'nsPrintEngine.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
||||
FINAL_LIBRARY = 'gklayout'
|
||||
|
@ -100,7 +100,6 @@ UNIFIED_SOURCES += [
|
||||
'nsDOMCSSRGBColor.cpp',
|
||||
'nsDOMCSSValueList.cpp',
|
||||
'nsDOMMediaQueryList.cpp',
|
||||
'nsFontFaceLoader.cpp',
|
||||
'nsHTMLCSSStyleSheet.cpp',
|
||||
'nsHTMLStyleSheet.cpp',
|
||||
'nsLayoutStylesheetCache.cpp',
|
||||
@ -121,8 +120,10 @@ UNIFIED_SOURCES += [
|
||||
]
|
||||
|
||||
# nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
|
||||
# nsFontFaceLoader.cpp needs to be built separately because it forces NSPR logging.
|
||||
SOURCES += [
|
||||
'nsCSSRuleProcessor.cpp',
|
||||
'nsFontFaceLoader.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
@ -23,7 +23,6 @@ UNIFIED_SOURCES += [
|
||||
'EventTokenBucket.cpp',
|
||||
'LoadContextInfo.cpp',
|
||||
'NetworkActivityMonitor.cpp',
|
||||
'nsAsyncRedirectVerifyHelper.cpp',
|
||||
'nsAsyncStreamCopier.cpp',
|
||||
'nsAuthInformationHolder.cpp',
|
||||
'nsBase64Encoder.cpp',
|
||||
@ -54,8 +53,6 @@ UNIFIED_SOURCES += [
|
||||
'nsSimpleNestedURI.cpp',
|
||||
'nsSimpleStreamListener.cpp',
|
||||
'nsSimpleURI.cpp',
|
||||
'nsSocketTransport2.cpp',
|
||||
'nsSocketTransportService2.cpp',
|
||||
'nsStandardURL.cpp',
|
||||
'nsStreamListenerTee.cpp',
|
||||
'nsStreamListenerWrapper.cpp',
|
||||
@ -76,6 +73,13 @@ UNIFIED_SOURCES += [
|
||||
'Tickler.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsAsyncRedirectVerifyHelper.cpp',
|
||||
'nsSocketTransport2.cpp',
|
||||
'nsSocketTransportService2.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'os2':
|
||||
SOURCES += [
|
||||
'nsURLHelperOS2.cpp',
|
||||
|
@ -21,13 +21,13 @@ EXPORTS.mozilla.net += [
|
||||
|
||||
SOURCES += [
|
||||
'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags.
|
||||
'nsHostResolver.cpp', # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'DNS.cpp',
|
||||
'nameprep.c',
|
||||
'nsDNSService2.cpp',
|
||||
'nsHostResolver.cpp',
|
||||
'nsIDNService.cpp',
|
||||
'punycode.c',
|
||||
'race.c',
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "nsURLHelper.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/HashFunctions.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
@ -309,7 +308,7 @@ HostDB_ClearEntry(PLDHashTable *table,
|
||||
nsHostDBEnt *he = static_cast<nsHostDBEnt*>(entry);
|
||||
MOZ_ASSERT(he, "nsHostDBEnt is null!");
|
||||
|
||||
DebugOnly<nsHostRecord*> hr = he->rec;
|
||||
nsHostRecord *hr = he->rec;
|
||||
MOZ_ASSERT(hr, "nsHostDBEnt has null host record!");
|
||||
|
||||
LOG(("Clearing cache db entry for host [%s].\n", hr->host));
|
||||
|
@ -26,15 +26,15 @@ EXPORTS.mozilla += [
|
||||
'ModuleUtils.h',
|
||||
]
|
||||
|
||||
# These two files cannot be built in unified mode because they use the
|
||||
# PL_ARENA_CONST_ALIGN_MASK macro with plarena.h.
|
||||
# nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in
|
||||
# unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro
|
||||
# with plarena.h.
|
||||
# nsNativeComponentLoader.cpp cannot be built in unified mode because it
|
||||
# forces NSPR logging.
|
||||
SOURCES += [
|
||||
'ManifestParser.cpp',
|
||||
'nsCategoryManager.cpp',
|
||||
'nsComponentManager.cpp',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'ManifestParser.cpp',
|
||||
'nsNativeComponentLoader.cpp',
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user