2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:23 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
|
|
|
|
2015-01-20 00:58:00 -08:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'mozIThirdPartyUtil.idl',
|
|
|
|
'nsIApplicationCache.idl',
|
|
|
|
'nsIApplicationCacheChannel.idl',
|
|
|
|
'nsIApplicationCacheContainer.idl',
|
|
|
|
'nsIApplicationCacheService.idl',
|
|
|
|
'nsIArrayBufferInputStream.idl',
|
|
|
|
'nsIAsyncStreamCopier.idl',
|
|
|
|
'nsIAsyncStreamCopier2.idl',
|
|
|
|
'nsIAsyncVerifyRedirectCallback.idl',
|
|
|
|
'nsIAuthInformation.idl',
|
|
|
|
'nsIAuthModule.idl',
|
|
|
|
'nsIAuthPrompt.idl',
|
|
|
|
'nsIAuthPrompt2.idl',
|
|
|
|
'nsIAuthPromptAdapterFactory.idl',
|
|
|
|
'nsIAuthPromptCallback.idl',
|
|
|
|
'nsIAuthPromptProvider.idl',
|
|
|
|
'nsIBackgroundFileSaver.idl',
|
|
|
|
'nsIBufferedStreams.idl',
|
|
|
|
'nsIByteRangeRequest.idl',
|
|
|
|
'nsICacheInfoChannel.idl',
|
|
|
|
'nsICachingChannel.idl',
|
|
|
|
'nsICancelable.idl',
|
2014-10-13 14:34:03 -07:00
|
|
|
'nsICaptivePortalService.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIChannel.idl',
|
|
|
|
'nsIChannelEventSink.idl',
|
|
|
|
'nsIChildChannel.idl',
|
|
|
|
'nsIClassOfService.idl',
|
|
|
|
'nsIContentSniffer.idl',
|
|
|
|
'nsICryptoFIPSInfo.idl',
|
|
|
|
'nsICryptoHash.idl',
|
|
|
|
'nsICryptoHMAC.idl',
|
|
|
|
'nsIDashboard.idl',
|
|
|
|
'nsIDashboardEventNotifier.idl',
|
2015-09-14 10:29:52 -07:00
|
|
|
'nsIDeprecationWarner.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIDivertableChannel.idl',
|
|
|
|
'nsIDownloader.idl',
|
|
|
|
'nsIEncodedChannel.idl',
|
|
|
|
'nsIExternalProtocolHandler.idl',
|
|
|
|
'nsIFileStreams.idl',
|
|
|
|
'nsIFileURL.idl',
|
|
|
|
'nsIForcePendingChannel.idl',
|
|
|
|
'nsIHttpPushListener.idl',
|
|
|
|
'nsIIncrementalDownload.idl',
|
2015-11-30 06:54:11 -08:00
|
|
|
'nsIIncrementalStreamLoader.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIInputStreamChannel.idl',
|
|
|
|
'nsIInputStreamPump.idl',
|
|
|
|
'nsIIOService.idl',
|
|
|
|
'nsIIOService2.idl',
|
|
|
|
'nsILoadContextInfo.idl',
|
|
|
|
'nsILoadGroup.idl',
|
|
|
|
'nsILoadGroupChild.idl',
|
2015-02-18 12:34:13 -08:00
|
|
|
'nsILoadInfo.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIMIMEInputStream.idl',
|
|
|
|
'nsIMultiPartChannel.idl',
|
|
|
|
'nsINestedURI.idl',
|
|
|
|
'nsINetAddr.idl',
|
|
|
|
'nsINetUtil.idl',
|
|
|
|
'nsINetworkInterceptController.idl',
|
|
|
|
'nsINetworkLinkService.idl',
|
|
|
|
'nsINetworkPredictor.idl',
|
|
|
|
'nsINetworkPredictorVerifier.idl',
|
|
|
|
'nsINetworkProperties.idl',
|
|
|
|
'nsINSSErrorsService.idl',
|
|
|
|
'nsINullChannel.idl',
|
2015-03-26 00:11:08 -07:00
|
|
|
'nsIPACGenerator.idl',
|
2015-10-02 05:25:22 -07:00
|
|
|
'nsIPackagedAppChannelListener.idl',
|
2015-06-02 15:46:15 -07:00
|
|
|
'nsIPackagedAppService.idl',
|
2015-09-17 20:50:37 -07:00
|
|
|
'nsIPackagedAppUtils.idl',
|
2015-09-07 04:12:02 -07:00
|
|
|
'nsIPackagedAppVerifier.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIParentChannel.idl',
|
|
|
|
'nsIParentRedirectingChannel.idl',
|
|
|
|
'nsIPermission.idl',
|
|
|
|
'nsIPermissionManager.idl',
|
|
|
|
'nsIPrivateBrowsingChannel.idl',
|
|
|
|
'nsIProgressEventSink.idl',
|
|
|
|
'nsIPrompt.idl',
|
|
|
|
'nsIProtocolHandler.idl',
|
|
|
|
'nsIProtocolProxyCallback.idl',
|
|
|
|
'nsIProtocolProxyFilter.idl',
|
|
|
|
'nsIProtocolProxyService.idl',
|
|
|
|
'nsIProtocolProxyService2.idl',
|
|
|
|
'nsIProxiedChannel.idl',
|
|
|
|
'nsIProxiedProtocolHandler.idl',
|
|
|
|
'nsIProxyInfo.idl',
|
|
|
|
'nsIRandomGenerator.idl',
|
|
|
|
'nsIRedirectChannelRegistrar.idl',
|
|
|
|
'nsIRedirectResultListener.idl',
|
|
|
|
'nsIRequest.idl',
|
|
|
|
'nsIRequestObserver.idl',
|
|
|
|
'nsIRequestObserverProxy.idl',
|
2015-02-11 14:11:19 -08:00
|
|
|
'nsIResponseHeadProvider.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsIResumableChannel.idl',
|
2015-07-31 13:50:08 -07:00
|
|
|
'nsISchedulingContext.idl',
|
2015-05-29 10:40:52 -07:00
|
|
|
'nsISecCheckWrapChannel.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsISecretDecoderRing.idl',
|
|
|
|
'nsISecureBrowserUI.idl',
|
|
|
|
'nsISecurityEventSink.idl',
|
|
|
|
'nsISecurityInfoProvider.idl',
|
2015-09-10 23:44:00 -07:00
|
|
|
'nsISensitiveInfoHiddenURI.idl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsISerializationHelper.idl',
|
|
|
|
'nsIServerSocket.idl',
|
|
|
|
'nsISimpleStreamListener.idl',
|
|
|
|
'nsISocketTransport.idl',
|
|
|
|
'nsISocketTransportService.idl',
|
|
|
|
'nsISpeculativeConnect.idl',
|
|
|
|
'nsIStandardURL.idl',
|
|
|
|
'nsIStreamingProtocolController.idl',
|
|
|
|
'nsIStreamingProtocolService.idl',
|
|
|
|
'nsIStreamListener.idl',
|
|
|
|
'nsIStreamListenerTee.idl',
|
|
|
|
'nsIStreamLoader.idl',
|
|
|
|
'nsIStreamTransportService.idl',
|
|
|
|
'nsISyncStreamListener.idl',
|
|
|
|
'nsISystemProxySettings.idl',
|
|
|
|
'nsIThreadRetargetableRequest.idl',
|
|
|
|
'nsIThreadRetargetableStreamListener.idl',
|
|
|
|
'nsITimedChannel.idl',
|
|
|
|
'nsITLSServerSocket.idl',
|
|
|
|
'nsITraceableChannel.idl',
|
|
|
|
'nsITransport.idl',
|
|
|
|
'nsIUDPSocket.idl',
|
|
|
|
'nsIUDPSocketFilter.idl',
|
|
|
|
'nsIUnicharStreamLoader.idl',
|
|
|
|
'nsIUploadChannel.idl',
|
|
|
|
'nsIUploadChannel2.idl',
|
|
|
|
'nsIURI.idl',
|
|
|
|
'nsIURIClassifier.idl',
|
|
|
|
'nsIURIWithPrincipal.idl',
|
|
|
|
'nsIURL.idl',
|
|
|
|
'nsIURLParser.idl',
|
|
|
|
'nsPILoadGroupInternal.idl',
|
|
|
|
'nsPISocketTransportService.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIBrowserSearchService.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'necko'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'netCore.h',
|
|
|
|
'nsASocketHandler.h',
|
|
|
|
'nsAsyncRedirectVerifyHelper.h',
|
|
|
|
'nsFileStreams.h',
|
2015-05-22 00:32:25 -07:00
|
|
|
'nsInputStreamPump.h',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsMIMEInputStream.h',
|
|
|
|
'nsNetUtil.h',
|
2015-07-06 19:17:00 -07:00
|
|
|
'nsNetUtil.inl',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsReadLine.h',
|
2015-03-04 13:05:21 -08:00
|
|
|
'nsSerializationHelper.h',
|
2015-03-06 13:33:00 -08:00
|
|
|
'nsSimpleNestedURI.h',
|
2015-03-06 13:33:00 -08:00
|
|
|
'nsSimpleURI.h',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsStreamListenerWrapper.h',
|
|
|
|
'nsTemporaryFileInputStream.h',
|
|
|
|
'nsURIHashKey.h',
|
|
|
|
'nsURLHelper.h',
|
|
|
|
'nsURLParsers.h',
|
|
|
|
]
|
|
|
|
|
2015-02-18 12:34:13 -08:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'LoadInfo.h',
|
2015-10-22 11:07:32 -07:00
|
|
|
'LoadTainting.h',
|
2015-02-18 12:34:13 -08:00
|
|
|
]
|
|
|
|
|
2015-01-20 00:58:00 -08:00
|
|
|
EXPORTS.mozilla.net += [
|
2014-10-13 14:34:03 -07:00
|
|
|
'CaptivePortalService.h',
|
2015-01-20 00:58:00 -08:00
|
|
|
'ChannelDiverterChild.h',
|
|
|
|
'ChannelDiverterParent.h',
|
|
|
|
'Dashboard.h',
|
|
|
|
'DashboardTypes.h',
|
2015-03-10 17:00:01 -07:00
|
|
|
'MemoryDownloader.h',
|
2015-01-20 00:58:00 -08:00
|
|
|
'OfflineObserver.h',
|
|
|
|
'ReferrerPolicy.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
EXPORTS += [
|
|
|
|
'NetStatistics.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'ArrayBufferInputStream.cpp',
|
|
|
|
'BackgroundFileSaver.cpp',
|
2014-10-13 14:34:03 -07:00
|
|
|
'CaptivePortalService.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'ChannelDiverterChild.cpp',
|
|
|
|
'ChannelDiverterParent.cpp',
|
2015-09-10 10:07:00 -07:00
|
|
|
'ClosingService.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'Dashboard.cpp',
|
|
|
|
'EventTokenBucket.cpp',
|
|
|
|
'LoadContextInfo.cpp',
|
2015-02-18 12:34:13 -08:00
|
|
|
'LoadInfo.cpp',
|
2015-03-10 17:00:01 -07:00
|
|
|
'MemoryDownloader.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'NetworkActivityMonitor.cpp',
|
|
|
|
'nsAsyncRedirectVerifyHelper.cpp',
|
|
|
|
'nsAsyncStreamCopier.cpp',
|
|
|
|
'nsAuthInformationHolder.cpp',
|
|
|
|
'nsBase64Encoder.cpp',
|
|
|
|
'nsBaseChannel.cpp',
|
|
|
|
'nsBaseContentStream.cpp',
|
|
|
|
'nsBufferedStreams.cpp',
|
|
|
|
'nsChannelClassifier.cpp',
|
|
|
|
'nsDirectoryIndexStream.cpp',
|
|
|
|
'nsDNSPrefetch.cpp',
|
|
|
|
'nsDownloader.cpp',
|
|
|
|
'nsFileStreams.cpp',
|
|
|
|
'nsIncrementalDownload.cpp',
|
2015-11-30 06:54:11 -08:00
|
|
|
'nsIncrementalStreamLoader.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsInputStreamChannel.cpp',
|
|
|
|
'nsInputStreamPump.cpp',
|
|
|
|
'nsIOService.cpp',
|
|
|
|
'nsLoadGroup.cpp',
|
|
|
|
'nsMediaFragmentURIParser.cpp',
|
|
|
|
'nsMIMEInputStream.cpp',
|
|
|
|
'nsNetAddr.cpp',
|
|
|
|
'nsNetUtil.cpp',
|
|
|
|
'nsPACMan.cpp',
|
|
|
|
'nsPreloadedStream.cpp',
|
|
|
|
'nsProtocolProxyService.cpp',
|
|
|
|
'nsProxyInfo.cpp',
|
|
|
|
'nsRequestObserverProxy.cpp',
|
2015-05-29 10:40:52 -07:00
|
|
|
'nsSecCheckWrapChannel.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'nsSerializationHelper.cpp',
|
|
|
|
'nsServerSocket.cpp',
|
|
|
|
'nsSimpleNestedURI.cpp',
|
|
|
|
'nsSimpleStreamListener.cpp',
|
|
|
|
'nsSimpleURI.cpp',
|
|
|
|
'nsSocketTransport2.cpp',
|
|
|
|
'nsSocketTransportService2.cpp',
|
|
|
|
'nsStandardURL.cpp',
|
|
|
|
'nsStreamListenerTee.cpp',
|
|
|
|
'nsStreamListenerWrapper.cpp',
|
|
|
|
'nsStreamLoader.cpp',
|
|
|
|
'nsStreamTransportService.cpp',
|
|
|
|
'nsSyncStreamListener.cpp',
|
|
|
|
'nsTemporaryFileInputStream.cpp',
|
|
|
|
'nsTransportUtils.cpp',
|
|
|
|
'nsUDPSocket.cpp',
|
|
|
|
'nsUnicharStreamLoader.cpp',
|
|
|
|
'nsURLHelper.cpp',
|
|
|
|
'nsURLParsers.cpp',
|
|
|
|
'OfflineObserver.cpp',
|
|
|
|
'Predictor.cpp',
|
|
|
|
'ProxyAutoConfig.cpp',
|
|
|
|
'RedirectChannelRegistrar.cpp',
|
2015-07-31 13:50:08 -07:00
|
|
|
'SchedulingContextService.cpp',
|
2015-01-20 00:58:00 -08:00
|
|
|
'StreamingProtocolService.cpp',
|
|
|
|
'Tickler.cpp',
|
|
|
|
'TLSServerSocket.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
SOURCES += [
|
|
|
|
'nsAutodialWin.cpp',
|
|
|
|
'nsNativeConnectionHelper.cpp',
|
|
|
|
'nsURLHelperWin.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
SOURCES += [
|
|
|
|
'nsURLHelperOSX.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
SOURCES += [
|
|
|
|
'nsURLHelperUnix.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_QTNETWORK']:
|
|
|
|
SOURCES += [
|
|
|
|
'nsAutodialQt.cpp',
|
|
|
|
]
|
|
|
|
|
2015-03-26 00:11:08 -07:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'PACGenerator.js',
|
|
|
|
'PACGenerator.manifest'
|
|
|
|
]
|
|
|
|
|
2015-01-20 00:58:00 -08:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'NetUtil.jsm',
|
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/netwerk/protocol/http'
|
|
|
|
]
|
|
|
|
|
|
|
|
if 'rtsp' in CONFIG['NECKO_PROTOCOLS']:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/netwerk/protocol/rtsp/controller',
|
|
|
|
'/netwerk/protocol/rtsp/rtsp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_QTNETWORK']:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/netwerk/system/qt',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DEFINES['PREDICTOR_TESTS'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_QTNETWORK']:
|
|
|
|
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
|