зеркало из https://github.com/mozilla/gecko-dev.git
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
This commit is contained in:
Родитель
8d715a7fe4
Коммит
7fffd05532
|
@ -42,7 +42,7 @@ if CONFIG['MOZ_WEBRTC']:
|
|||
'nsDOMDataChannel.h',
|
||||
'nsDOMDataChannelDeclarations.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsDOMDataChannel.cpp',
|
||||
]
|
||||
LOCAL_INCLUDES += [
|
||||
|
@ -124,6 +124,7 @@ UNIFIED_SOURCES += [
|
|||
'nsCSPService.cpp',
|
||||
'nsCSPUtils.cpp',
|
||||
'nsDataDocumentContentPolicy.cpp',
|
||||
'nsDocument.cpp',
|
||||
'nsDocumentEncoder.cpp',
|
||||
'nsDOMAttributeMap.cpp',
|
||||
'nsDOMCaretPosition.cpp',
|
||||
|
@ -150,6 +151,7 @@ UNIFIED_SOURCES += [
|
|||
'nsMixedContentBlocker.cpp',
|
||||
'nsNameSpaceManager.cpp',
|
||||
'nsNoDataProtocolContentPolicy.cpp',
|
||||
'nsNodeInfoManager.cpp',
|
||||
'nsNodeUtils.cpp',
|
||||
'nsPlainTextSerializer.cpp',
|
||||
'nsPropertyTable.cpp',
|
||||
|
@ -184,12 +186,6 @@ SOURCES += [
|
|||
'nsImageLoadingContent.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they use FORCE_PR_LOG
|
||||
SOURCES += [
|
||||
'nsDocument.cpp',
|
||||
'nsNodeInfoManager.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because of OS X headers.
|
||||
SOURCES += [
|
||||
'nsContentUtils.cpp',
|
||||
|
|
|
@ -140,6 +140,7 @@ UNIFIED_SOURCES += [
|
|||
'EncodedBufferCache.cpp',
|
||||
'FileBlockCache.cpp',
|
||||
"GraphDriver.cpp",
|
||||
'Latency.cpp',
|
||||
'MediaCache.cpp',
|
||||
'MediaData.cpp',
|
||||
'MediaDecoder.cpp',
|
||||
|
@ -177,10 +178,8 @@ if CONFIG['OS_TARGET'] == 'WINNT':
|
|||
SOURCES += [ 'ThreadPoolCOMListener.cpp' ]
|
||||
|
||||
# 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
|
||||
|
|
|
@ -53,6 +53,7 @@ UNIFIED_SOURCES += [
|
|||
'LoadInfo.cpp',
|
||||
'nsAboutRedirector.cpp',
|
||||
'nsDefaultURIFixup.cpp',
|
||||
'nsDocShell.cpp',
|
||||
'nsDocShellEditorData.cpp',
|
||||
'nsDocShellEnumerator.cpp',
|
||||
'nsDocShellLoadInfo.cpp',
|
||||
|
@ -63,11 +64,6 @@ 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
|
||||
|
|
|
@ -94,6 +94,7 @@ UNIFIED_SOURCES += [
|
|||
'nsGlobalWindowCommands.cpp',
|
||||
'nsHistory.cpp',
|
||||
'nsIGlobalObject.cpp',
|
||||
'nsJSEnvironment.cpp',
|
||||
'nsJSTimeoutHandler.cpp',
|
||||
'nsJSUtils.cpp',
|
||||
'nsLocation.cpp',
|
||||
|
@ -123,8 +124,6 @@ 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',
|
||||
]
|
||||
|
|
|
@ -63,9 +63,9 @@ UNIFIED_SOURCES += [
|
|||
]
|
||||
|
||||
# Blob.cpp cannot be compiled in unified mode because it triggers a fatal gcc warning.
|
||||
# ContentChild.cpp cannot be compiled in unified mode because it forces NSPR logging.
|
||||
# CrashReporterChild.cpp cannot be compiled in unified mode because of name clashes
|
||||
# in OS X headers.
|
||||
# ContentChild.cpp cannot be compiled in unified mode on linux due to Time conflict
|
||||
SOURCES += [
|
||||
'Blob.cpp',
|
||||
'ContentChild.cpp',
|
||||
|
|
|
@ -43,20 +43,19 @@ EXPORTS.mozilla += [
|
|||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsJSNPRuntime.cpp',
|
||||
'nsNPAPIPluginInstance.cpp',
|
||||
'nsNPAPIPluginStreamListener.cpp',
|
||||
'nsPluginInstanceOwner.cpp',
|
||||
'nsPluginModule.cpp',
|
||||
'nsPluginPlayPreviewInfo.cpp',
|
||||
'nsPluginStreamListenerPeer.cpp',
|
||||
'nsPluginTags.cpp',
|
||||
'PluginPRLibrary.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsNPAPIPlugin.cpp',
|
||||
'nsNPAPIPluginInstance.cpp',
|
||||
'nsNPAPIPluginStreamListener.cpp',
|
||||
'nsPluginHost.cpp',
|
||||
'nsPluginStreamListenerPeer.cpp',
|
||||
'nsPluginTags.cpp',
|
||||
'nsNPAPIPlugin.cpp', # Conflict with X11 headers
|
||||
'nsPluginHost.cpp', # Conflict with NS_NPAPIPLUGIN_CALLBACK
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
|
|
|
@ -46,13 +46,14 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
|||
EXPORTS.mozilla.plugins += [
|
||||
'PluginSurfaceParent.h',
|
||||
]
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'COMMessageFilter.cpp',
|
||||
'MiniShmParent.cpp',
|
||||
'PluginHangUIParent.cpp',
|
||||
'PluginSurfaceParent.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'MiniShmParent.cpp', # Issues with CreateEvent
|
||||
]
|
||||
DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX']
|
||||
LOCAL_INCLUDES += [
|
||||
'/widget/shared',
|
||||
|
@ -68,13 +69,11 @@ if CONFIG['MOZ_ENABLE_QT']:
|
|||
GENERATED_SOURCES += [
|
||||
'moc_NestedLoopTimer.cpp',
|
||||
]
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'NestedLoopTimer.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BrowserStreamChild.cpp',
|
||||
'BrowserStreamParent.cpp',
|
||||
'ChildAsyncCall.cpp',
|
||||
|
@ -82,10 +81,8 @@ SOURCES += [
|
|||
'PluginBackgroundDestroyer.cpp',
|
||||
'PluginIdentifierChild.cpp',
|
||||
'PluginIdentifierParent.cpp',
|
||||
'PluginInstanceChild.cpp',
|
||||
'PluginInstanceParent.cpp',
|
||||
'PluginMessageUtils.cpp',
|
||||
'PluginModuleChild.cpp',
|
||||
'PluginModuleParent.cpp',
|
||||
'PluginProcessChild.cpp',
|
||||
'PluginProcessParent.cpp',
|
||||
|
@ -95,9 +92,13 @@ SOURCES += [
|
|||
'PluginStreamParent.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'PluginInstanceChild.cpp', # 'PluginThreadCallback' : ambiguous symbol
|
||||
'PluginModuleChild.cpp', # Redefinition of mozilla::WindowsDllInterceptor sUser32Intercept
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'PluginInterposeOSX.mm',
|
||||
'PluginUtilsOSX.mm',
|
||||
]
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
# 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',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'nsAuthFactory.cpp', # forces NSPR logging
|
||||
'nsAuthGSSAPI.cpp', # forces NSPR logging
|
||||
'nsAuthSASL.cpp',
|
||||
'nsHttpNegotiateAuth.cpp', # contains constants whose names conflict with constants in other files
|
||||
]
|
||||
|
@ -17,8 +20,8 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
|||
]
|
||||
DEFINES['USE_SSPI'] = True
|
||||
else:
|
||||
SOURCES += [
|
||||
'nsAuthSambaNTLM.cpp', # forces NSPR logging
|
||||
UNIFIED_SOURCES += [
|
||||
'nsAuthSambaNTLM.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
# 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/.
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsAutoConfig.cpp',
|
||||
'nsConfigFactory.cpp',
|
||||
'nsJSConfigTriggers.cpp',
|
||||
|
|
|
@ -169,7 +169,6 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|||
'gfxWindowsPlatform.h',
|
||||
'gfxWindowsSurface.h',
|
||||
]
|
||||
# gfxGDIFontList.cpp forces NSPR logging, so it cannot be built in unified mode.
|
||||
SOURCES += [
|
||||
'gfxGDIFont.cpp',
|
||||
'gfxGDIFontList.cpp',
|
||||
|
@ -179,11 +178,12 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|||
'gfxWindowsSurface.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_ENABLE_DWRITE_FONT']:
|
||||
# gfxDWriteFontList.cpp forces NSPR logging, so it cannot be built in unified mode.
|
||||
UNIFIED_SOURCES += [
|
||||
'gfxDWriteFontList.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'gfxD2DSurface.cpp',
|
||||
'gfxDWriteCommon.cpp',
|
||||
'gfxDWriteFontList.cpp',
|
||||
'gfxDWriteFonts.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_ENABLE_DIRECT2D1_1']:
|
||||
|
@ -204,19 +204,9 @@ SOURCES += [
|
|||
# we could consider removing soon (affects Ubuntus older than 10.04 LTS)
|
||||
# which currently prevent it from joining UNIFIED_SOURCES.
|
||||
'gfxDrawable.cpp',
|
||||
# Uses FORCE_PR_LOG
|
||||
'gfxFont.cpp',
|
||||
# Uses FORCE_PR_LOG
|
||||
'gfxFontEntry.cpp',
|
||||
# Uses FORCE_PR_LOG
|
||||
'gfxFontUtils.cpp',
|
||||
# Includes mac system header conflicting with point/size, and also uses FORCE_PR_LOG
|
||||
# gfxPlatform.cpp includes mac system header conflicting with point/size
|
||||
'gfxPlatform.cpp',
|
||||
# Uses FORCE_PR_LOG
|
||||
'gfxPlatformFontList.cpp',
|
||||
'gfxPrefs.cpp',
|
||||
# Uses FORCE_PR_LOG
|
||||
'gfxUserFontSet.cpp',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -226,10 +216,13 @@ UNIFIED_SOURCES += [
|
|||
'gfxBaseSharedMemorySurface.cpp',
|
||||
'gfxBlur.cpp',
|
||||
'gfxContext.cpp',
|
||||
'gfxFont.cpp',
|
||||
'gfxFontEntry.cpp',
|
||||
'gfxFontFeatures.cpp',
|
||||
'gfxFontInfoLoader.cpp',
|
||||
'gfxFontMissingGlyphs.cpp',
|
||||
'gfxFontTest.cpp',
|
||||
'gfxFontUtils.cpp',
|
||||
'gfxGlyphExtents.cpp',
|
||||
'gfxGradientCache.cpp',
|
||||
'gfxGraphiteShaper.cpp',
|
||||
|
@ -238,6 +231,7 @@ UNIFIED_SOURCES += [
|
|||
'gfxMathTable.cpp',
|
||||
'gfxMatrix.cpp',
|
||||
'gfxPattern.cpp',
|
||||
'gfxPlatformFontList.cpp',
|
||||
'gfxRect.cpp',
|
||||
'gfxReusableImageSurfaceWrapper.cpp',
|
||||
'gfxReusableSharedImageSurfaceWrapper.cpp',
|
||||
|
@ -246,14 +240,14 @@ UNIFIED_SOURCES += [
|
|||
'gfxSVGGlyphs.cpp',
|
||||
'gfxTeeSurface.cpp',
|
||||
'gfxTextRun.cpp',
|
||||
'gfxUserFontSet.cpp',
|
||||
'gfxUtils.cpp',
|
||||
'nsSurfaceTexture.cpp',
|
||||
'nsUnicodeRange.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
# gfxMacPlatformFontList.mm forces NSPR logging so it cannot be built in unified mode.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'gfxMacPlatformFontList.mm',
|
||||
]
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# These files cannot be built in unified mode because they rely on plarena.h
|
||||
# and they want to force NSPR logging.
|
||||
SOURCES += [
|
||||
'mozJSComponentLoader.cpp',
|
||||
'mozJSLoaderUtils.cpp',
|
||||
|
|
|
@ -80,6 +80,7 @@ UNIFIED_SOURCES += [
|
|||
'nsCSSRenderingBorders.cpp',
|
||||
'nsDisplayList.cpp',
|
||||
'nsDisplayListInvalidation.cpp',
|
||||
'nsDocumentViewer.cpp',
|
||||
'nsFrameManager.cpp',
|
||||
'nsFrameTraversal.cpp',
|
||||
'nsGenConList.cpp',
|
||||
|
@ -87,6 +88,7 @@ UNIFIED_SOURCES += [
|
|||
'nsLayoutHistoryState.cpp',
|
||||
'nsLayoutUtils.cpp',
|
||||
'nsPresContext.cpp',
|
||||
'nsPresShell.cpp',
|
||||
'nsQuoteList.cpp',
|
||||
'nsStyleChangeList.cpp',
|
||||
'nsStyleSheetService.cpp',
|
||||
|
@ -99,14 +101,10 @@ UNIFIED_SOURCES += [
|
|||
'TouchCaret.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',
|
||||
]
|
||||
|
||||
|
|
|
@ -14,14 +14,10 @@ XPIDL_MODULE = 'layout_printing'
|
|||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPagePrintTimer.cpp',
|
||||
'nsPrintObject.cpp',
|
||||
'nsPrintPreviewListener.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsPrintData.cpp',
|
||||
'nsPrintEngine.cpp',
|
||||
'nsPrintObject.cpp',
|
||||
'nsPrintPreviewListener.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -117,6 +117,7 @@ UNIFIED_SOURCES += [
|
|||
'nsDOMCSSRect.cpp',
|
||||
'nsDOMCSSRGBColor.cpp',
|
||||
'nsDOMCSSValueList.cpp',
|
||||
'nsFontFaceLoader.cpp',
|
||||
'nsHTMLCSSStyleSheet.cpp',
|
||||
'nsHTMLStyleSheet.cpp',
|
||||
'nsLayoutStylesheetCache.cpp',
|
||||
|
@ -137,13 +138,11 @@ UNIFIED_SOURCES += [
|
|||
'SVGAttrAnimationRuleProcessor.cpp',
|
||||
]
|
||||
|
||||
# FontFaceSet.cpp needs to be built separately because it redefines LOG.
|
||||
# nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
|
||||
# FontFaceSet.cpp and nsFontFaceLoader.cpp need to be built separately because
|
||||
# they force NSPR logging.
|
||||
SOURCES += [
|
||||
'FontFaceSet.cpp',
|
||||
'nsCSSRuleProcessor.cpp',
|
||||
'nsFontFaceLoader.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -27,7 +27,9 @@ EXPORTS.mtransport += [
|
|||
|
||||
include('../objs.mozbuild')
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
# These files cannot be built in unified mode because of the redefinition of
|
||||
# getLogModule, UNIMPLEMENTED, nr_socket_long_term_violation_time,
|
||||
# nr_socket_short_term_violation_time.
|
||||
SOURCES += mtransport_cppsrcs
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
include('../objs.mozbuild')
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
# These files cannot be built in unified mode because of the redefinition of
|
||||
# getLogModule, UNIMPLEMENTED, nr_socket_long_term_violation_time,
|
||||
# nr_socket_short_term_violation_time.
|
||||
SOURCES += mtransport_cppsrcs
|
||||
|
||||
Library('mtransport_s')
|
||||
|
|
|
@ -29,6 +29,7 @@ UNIFIED_SOURCES += [
|
|||
'EventTokenBucket.cpp',
|
||||
'LoadContextInfo.cpp',
|
||||
'NetworkActivityMonitor.cpp',
|
||||
'nsAsyncRedirectVerifyHelper.cpp',
|
||||
'nsAsyncStreamCopier.cpp',
|
||||
'nsAuthInformationHolder.cpp',
|
||||
'nsBase64Encoder.cpp',
|
||||
|
@ -60,6 +61,8 @@ UNIFIED_SOURCES += [
|
|||
'nsSimpleNestedURI.cpp',
|
||||
'nsSimpleStreamListener.cpp',
|
||||
'nsSimpleURI.cpp',
|
||||
'nsSocketTransport2.cpp',
|
||||
'nsSocketTransportService2.cpp',
|
||||
'nsStandardURL.cpp',
|
||||
'nsStreamListenerTee.cpp',
|
||||
'nsStreamListenerWrapper.cpp',
|
||||
|
@ -73,6 +76,7 @@ UNIFIED_SOURCES += [
|
|||
'nsURIChecker.cpp',
|
||||
'nsURLHelper.cpp',
|
||||
'nsURLParsers.cpp',
|
||||
'OfflineObserver.cpp',
|
||||
'Predictor.cpp',
|
||||
'ProxyAutoConfig.cpp',
|
||||
'RedirectChannelRegistrar.cpp',
|
||||
|
@ -81,14 +85,6 @@ UNIFIED_SOURCES += [
|
|||
'TLSServerSocket.cpp',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsAsyncRedirectVerifyHelper.cpp',
|
||||
'nsSocketTransport2.cpp',
|
||||
'nsSocketTransportService2.cpp',
|
||||
'OfflineObserver.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
SOURCES += [
|
||||
'nsAutodialWin.cpp',
|
||||
|
|
|
@ -21,8 +21,7 @@ EXPORTS += [
|
|||
'nsDeleteDir.h'
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsApplicationCacheService.cpp',
|
||||
'nsCache.cpp',
|
||||
'nsCacheEntry.cpp',
|
||||
|
|
|
@ -28,7 +28,7 @@ if CONFIG['NECKO_COOKIES']:
|
|||
'CookieServiceParent.cpp',
|
||||
'nsCookie.cpp',
|
||||
]
|
||||
# nsCookieService.cpp can't be unified because it forces NSPR logging.
|
||||
# nsCookieService.cpp can't be unified because of symbol conflicts
|
||||
SOURCES += [
|
||||
'nsCookieService.cpp',
|
||||
]
|
||||
|
|
|
@ -25,9 +25,8 @@ EXPORTS.mozilla.net += [
|
|||
]
|
||||
|
||||
SOURCES += [
|
||||
'GetAddrInfo.cpp', # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
|
||||
'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags.
|
||||
'nsHostResolver.cpp', # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
|
||||
'nsHostResolver.cpp', # Redefines LOG
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -36,6 +35,7 @@ UNIFIED_SOURCES += [
|
|||
'DNSListenerProxy.cpp',
|
||||
'DNSRequestChild.cpp',
|
||||
'DNSRequestParent.cpp',
|
||||
'GetAddrInfo.cpp',
|
||||
'nameprep.c',
|
||||
'nsDNSService2.cpp',
|
||||
'nsIDNService.cpp',
|
||||
|
|
|
@ -39,10 +39,13 @@ EXPORTS.mozilla.net += [
|
|||
|
||||
# ASpdySession.cpp and nsHttpAuthCache cannot be built in unified mode because
|
||||
# they use plarena.h.
|
||||
# The rest of these files cannot be built in unified mode because they want to
|
||||
# force NSPR logging.
|
||||
SOURCES += [
|
||||
'ASpdySession.cpp',
|
||||
'nsHttpAuthCache.cpp',
|
||||
'nsHttpChannelAuthProvider.cpp', # redefines GetAuthType
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'ConnectionDiagnostics.cpp',
|
||||
'Http2Compression.cpp',
|
||||
'Http2Push.cpp',
|
||||
|
@ -55,11 +58,9 @@ SOURCES += [
|
|||
'HttpInfo.cpp',
|
||||
'nsHttp.cpp',
|
||||
'nsHttpActivityDistributor.cpp',
|
||||
'nsHttpAuthCache.cpp',
|
||||
'nsHttpAuthManager.cpp',
|
||||
'nsHttpBasicAuth.cpp',
|
||||
'nsHttpChannel.cpp',
|
||||
'nsHttpChannelAuthProvider.cpp',
|
||||
'nsHttpChunkedDecoder.cpp',
|
||||
'nsHttpConnection.cpp',
|
||||
'nsHttpConnectionInfo.cpp',
|
||||
|
|
|
@ -14,8 +14,7 @@ EXPORTS.mozilla.net += [
|
|||
'RtspHandler.h',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'controller/RtspController.cpp',
|
||||
'controller/RtspControllerChild.cpp',
|
||||
'controller/RtspControllerParent.cpp',
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
# 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/.
|
||||
|
||||
# These cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AppSignatureVerification.cpp',
|
||||
'AppTrustDomain.cpp',
|
||||
]
|
||||
|
|
|
@ -12,18 +12,13 @@ UNIFIED_SOURCES += [
|
|||
'DataStorage.cpp',
|
||||
'nsBOOTModule.cpp',
|
||||
'nsEntropyCollector.cpp',
|
||||
'nsSecureBrowserUIImpl.cpp',
|
||||
'nsSecurityHeaderParser.cpp',
|
||||
'nsSecurityWarningDialogs.cpp',
|
||||
'nsSiteSecurityService.cpp',
|
||||
'PublicKeyPinningService.cpp',
|
||||
]
|
||||
|
||||
# nsSecureBrowserUIImpl.cpp cannot be built in unified mode because it forces NSPR logging.
|
||||
SOURCES += [
|
||||
'nsSecureBrowserUIImpl.cpp',
|
||||
]
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../../pkix/include',
|
||||
]
|
||||
|
|
|
@ -51,29 +51,22 @@ EXPORTS.mozilla.dom += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'ExternalHelperAppParent.cpp',
|
||||
'nsLocalHandlerApp.cpp',
|
||||
'nsMIMEInfoImpl.cpp',
|
||||
]
|
||||
|
||||
# These files can't be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'ExternalHelperAppChild.cpp',
|
||||
'ExternalHelperAppParent.cpp',
|
||||
'nsExternalHelperAppService.cpp',
|
||||
'nsExternalProtocolHandler.cpp',
|
||||
'nsLocalHandlerApp.cpp',
|
||||
'nsMIMEInfoImpl.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
UNIFIED_SOURCES += [
|
||||
'mac/nsLocalHandlerAppMac.mm',
|
||||
'mac/nsMIMEInfoMac.mm',
|
||||
]
|
||||
# These files can't be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'mac/nsOSHelperAppService.mm',
|
||||
]
|
||||
else:
|
||||
# These files can't be built in unified mode because they force NSPR logging.
|
||||
# These files can't be built in unified mode because they redefine LOG.
|
||||
SOURCES += [
|
||||
osdir + '/nsOSHelperAppService.cpp',
|
||||
]
|
||||
|
@ -96,8 +89,7 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
|
|||
'unix/nsMIMEInfoUnix.cpp',
|
||||
]
|
||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
# These files can't be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'win/nsMIMEInfoWin.cpp',
|
||||
]
|
||||
|
||||
|
|
|
@ -21,18 +21,14 @@ EXPORTS.mozilla.docshell += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsOfflineCacheUpdate.cpp',
|
||||
'nsOfflineCacheUpdateService.cpp',
|
||||
'nsPrefetchService.cpp',
|
||||
'OfflineCacheUpdateChild.cpp',
|
||||
'OfflineCacheUpdateGlue.cpp',
|
||||
'OfflineCacheUpdateParent.cpp',
|
||||
]
|
||||
|
||||
# These files can't be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'nsOfflineCacheUpdate.cpp',
|
||||
'nsOfflineCacheUpdateService.cpp',
|
||||
]
|
||||
|
||||
IPDL_SOURCES += [
|
||||
'POfflineCacheUpdate.ipdl',
|
||||
]
|
||||
|
|
|
@ -28,6 +28,7 @@ UNIFIED_SOURCES += [
|
|||
'nsColorPicker.mm',
|
||||
'nsCursorManager.mm',
|
||||
'nsDeviceContextSpecX.mm',
|
||||
'nsDragService.mm',
|
||||
'nsFilePicker.mm',
|
||||
'nsIdleServiceX.mm',
|
||||
'nsLookAndFeel.mm',
|
||||
|
@ -53,16 +54,15 @@ UNIFIED_SOURCES += [
|
|||
'nsWidgetFactory.mm',
|
||||
'nsWindowMap.mm',
|
||||
'OSXNotificationCenter.mm',
|
||||
'TextInputHandler.mm',
|
||||
'VibrancyManager.mm',
|
||||
'WidgetTraceEvent.mm',
|
||||
]
|
||||
|
||||
# These files cannot be built in unified mode because they force NSPR logging.
|
||||
# These files cannot be built in unified mode because they cause symbol conflicts
|
||||
SOURCES += [
|
||||
'nsChildView.mm',
|
||||
'nsClipboard.mm',
|
||||
'nsDragService.mm',
|
||||
'TextInputHandler.mm',
|
||||
]
|
||||
|
||||
if CONFIG['TARGET_CPU'] == 'x86_64':
|
||||
|
|
|
@ -16,9 +16,11 @@ EXPORTS += [
|
|||
UNIFIED_SOURCES += [
|
||||
'mozcontainer.c',
|
||||
'NativeKeyBindings.cpp',
|
||||
'nsAppShell.cpp',
|
||||
'nsBidiKeyboard.cpp',
|
||||
'nsColorPicker.cpp',
|
||||
'nsFilePicker.cpp',
|
||||
'nsGtkIMModule.cpp',
|
||||
'nsGtkKeyUtils.cpp',
|
||||
'nsImageToPixbuf.cpp',
|
||||
'nsLookAndFeel.cpp',
|
||||
|
@ -27,16 +29,13 @@ UNIFIED_SOURCES += [
|
|||
'nsScreenManagerGtk.cpp',
|
||||
'nsSound.cpp',
|
||||
'nsToolkit.cpp',
|
||||
'nsWidgetFactory.cpp',
|
||||
'WakeLockListener.cpp',
|
||||
'WidgetTraceEvent.cpp',
|
||||
]
|
||||
|
||||
# These files force-enable NSPR logging and thus cannot be built in unified mode
|
||||
SOURCES += [
|
||||
'nsAppShell.cpp',
|
||||
'nsGtkIMModule.cpp',
|
||||
'nsWidgetFactory.cpp',
|
||||
'nsWindow.cpp',
|
||||
'nsWindow.cpp', # conflicts with X11 headers
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_X11']:
|
||||
|
@ -47,23 +46,17 @@ if CONFIG['MOZ_X11']:
|
|||
if CONFIG['NS_PRINTING']:
|
||||
UNIFIED_SOURCES += [
|
||||
'nsCUPSShim.cpp',
|
||||
'nsDeviceContextSpecG.cpp',
|
||||
'nsPaperPS.cpp',
|
||||
'nsPrintDialogGTK.cpp',
|
||||
'nsPrintOptionsGTK.cpp',
|
||||
'nsPrintSettingsGTK.cpp',
|
||||
'nsPSPrinters.cpp',
|
||||
]
|
||||
# This file force-enables NSPR logging and thus cannot be built in unified mode
|
||||
SOURCES += [
|
||||
'nsDeviceContextSpecG.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_X11']:
|
||||
UNIFIED_SOURCES += [
|
||||
'nsClipboard.cpp',
|
||||
]
|
||||
# This file force-enables NSPR logging and thus cannot be built in unified mode
|
||||
SOURCES += [
|
||||
'nsDragService.cpp',
|
||||
]
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ UNIFIED_SOURCES += [
|
|||
'GfxInfo.cpp',
|
||||
'IEnumFE.cpp',
|
||||
'JumpListItem.cpp',
|
||||
'KeyboardLayout.cpp',
|
||||
'nsAppShell.cpp',
|
||||
'nsClipboard.cpp',
|
||||
'nsColorPicker.cpp',
|
||||
|
@ -32,6 +33,7 @@ UNIFIED_SOURCES += [
|
|||
'nsDragService.cpp',
|
||||
'nsIdleServiceWin.cpp',
|
||||
'nsImageClipboard.cpp',
|
||||
'nsIMM32Handler.cpp',
|
||||
'nsLookAndFeel.cpp',
|
||||
'nsNativeDragSource.cpp',
|
||||
'nsNativeDragTarget.cpp',
|
||||
|
@ -54,13 +56,6 @@ UNIFIED_SOURCES += [
|
|||
'WindowHook.cpp',
|
||||
'WinIMEHandler.cpp',
|
||||
'WinTaskbar.cpp',
|
||||
]
|
||||
|
||||
# The following files cannot be built in unified mode because they force NSPR logging.
|
||||
SOURCES += [
|
||||
'KeyboardLayout.cpp',
|
||||
'nsIMM32Handler.cpp',
|
||||
'WinMouseScrollHandler.cpp',
|
||||
'WinUtils.cpp',
|
||||
]
|
||||
|
||||
|
@ -70,6 +65,7 @@ SOURCES += [
|
|||
'nsBidiKeyboard.cpp',
|
||||
'nsFilePicker.cpp',
|
||||
'nsWidgetFactory.cpp',
|
||||
'WinMouseScrollHandler.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_CRASHREPORTER']:
|
||||
|
|
|
@ -29,12 +29,13 @@ EXPORTS.mozilla += [
|
|||
# nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in
|
||||
# unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro
|
||||
# with plarena.h.
|
||||
# nsNativeModuleLoader.cpp cannot be built in unified mode because it
|
||||
# forces NSPR logging.
|
||||
SOURCES += [
|
||||
'ManifestParser.cpp',
|
||||
'nsCategoryManager.cpp',
|
||||
'nsComponentManager.cpp',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'ManifestParser.cpp',
|
||||
'nsNativeModuleLoader.cpp',
|
||||
]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче