1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 'mozIThirdPartyUtil.idl',
9 'nsIApplicationCache.idl',
10 'nsIApplicationCacheChannel.idl',
11 'nsIApplicationCacheContainer.idl',
12 'nsIApplicationCacheService.idl',
13 'nsIArrayBufferInputStream.idl',
14 'nsIAsyncStreamCopier.idl',
15 'nsIAsyncStreamCopier2.idl',
16 'nsIAsyncVerifyRedirectCallback.idl',
17 'nsIAuthInformation.idl',
21 'nsIAuthPromptAdapterFactory.idl',
22 'nsIAuthPromptCallback.idl',
23 'nsIAuthPromptProvider.idl',
24 'nsIBackgroundFileSaver.idl',
25 'nsIBufferedStreams.idl',
26 'nsIByteRangeRequest.idl',
27 'nsICacheInfoChannel.idl',
28 'nsICachingChannel.idl',
30 'nsICaptivePortalService.idl',
32 'nsIChannelEventSink.idl',
33 'nsIChannelWithDivertableParentListener.idl',
34 'nsIChildChannel.idl',
35 'nsIClassifiedChannel.idl',
36 'nsIClassOfService.idl',
37 'nsIContentSniffer.idl',
39 'nsIDashboardEventNotifier.idl',
40 'nsIDeprecationWarner.idl',
42 'nsIDivertableChannel.idl',
44 'nsIEncodedChannel.idl',
45 'nsIExternalProtocolHandler.idl',
48 'nsIForcePendingChannel.idl',
49 'nsIFormPOSTActionChannel.idl',
50 'nsIHttpAuthenticatorCallback.idl',
51 'nsIHttpPushListener.idl',
52 'nsIIncrementalDownload.idl',
53 'nsIIncrementalStreamLoader.idl',
54 'nsIInputStreamChannel.idl',
55 'nsIInputStreamPump.idl',
57 'nsILoadContextInfo.idl',
59 'nsILoadGroupChild.idl',
61 'nsIMIMEInputStream.idl',
62 'nsIMultiPartChannel.idl',
66 'nsINetworkConnectivityService.idl',
67 'nsINetworkInfoService.idl',
68 'nsINetworkInterceptController.idl',
69 'nsINetworkLinkService.idl',
70 'nsINetworkPredictor.idl',
71 'nsINetworkPredictorVerifier.idl',
73 'nsIParentChannel.idl',
74 'nsIParentRedirectingChannel.idl',
76 'nsIPermissionManager.idl',
77 'nsIPrivateBrowsingChannel.idl',
78 'nsIProgressEventSink.idl',
80 'nsIProtocolHandler.idl',
81 'nsIProtocolProxyCallback.idl',
82 'nsIProtocolProxyFilter.idl',
83 'nsIProtocolProxyService.idl',
84 'nsIProtocolProxyService2.idl',
85 'nsIProxiedChannel.idl',
86 'nsIProxiedProtocolHandler.idl',
88 'nsIRandomGenerator.idl',
89 'nsIRedirectChannelRegistrar.idl',
90 'nsIRedirectHistoryEntry.idl',
91 'nsIRedirectResultListener.idl',
93 'nsIRequestContext.idl',
94 'nsIRequestObserver.idl',
95 'nsIRequestObserverProxy.idl',
96 'nsIResumableChannel.idl',
97 'nsISecCheckWrapChannel.idl',
98 'nsISecureBrowserUI.idl',
99 'nsISensitiveInfoHiddenURI.idl',
100 'nsISerializationHelper.idl',
101 'nsIServerSocket.idl',
102 'nsISimpleStreamListener.idl',
103 'nsISocketFilter.idl',
104 'nsISocketTransport.idl',
105 'nsISocketTransportService.idl',
106 'nsISpeculativeConnect.idl',
107 'nsIStandardURL.idl',
108 'nsIStreamListener.idl',
109 'nsIStreamListenerTee.idl',
110 'nsIStreamLoader.idl',
111 'nsIStreamTransportService.idl',
112 'nsISyncStreamListener.idl',
113 'nsISystemProxySettings.idl',
114 'nsIThreadRetargetableRequest.idl',
115 'nsIThreadRetargetableStreamListener.idl',
116 'nsIThrottledInputChannel.idl',
117 'nsITimedChannel.idl',
118 'nsITLSServerSocket.idl',
119 'nsITraceableChannel.idl',
122 'nsIUploadChannel.idl',
123 'nsIUploadChannel2.idl',
126 'nsIURIWithSpecialOrigin.idl',
129 'nsPISocketTransportService.idl',
132 XPIDL_MODULE = 'necko'
136 'nsASocketHandler.h',
137 'nsAsyncRedirectVerifyHelper.h',
139 'nsInputStreamPump.h',
140 'nsMIMEInputStream.h',
143 'nsSerializationHelper.h',
144 'nsSimpleNestedURI.h',
147 'nsStreamListenerWrapper.h',
158 'nsRedirectHistoryEntry.h',
161 EXPORTS.mozilla.net += [
162 'CaptivePortalService.h',
163 'ChannelDiverterChild.h',
164 'ChannelDiverterParent.h',
167 'IOActivityMonitor.h',
168 'MemoryDownloader.h',
169 'NetworkConnectivityService.h',
170 'PartiallySeekableInputStream.h',
172 'RedirectChannelRegistrar.h',
174 'RequestContextService.h',
175 'SimpleChannelParent.h',
180 'ArrayBufferInputStream.cpp',
181 'BackgroundFileSaver.cpp',
182 'CaptivePortalService.cpp',
183 'ChannelDiverterChild.cpp',
184 'ChannelDiverterParent.cpp',
186 'EventTokenBucket.cpp',
187 'IOActivityMonitor.cpp',
188 'LoadContextInfo.cpp',
190 'MemoryDownloader.cpp',
191 'NetworkConnectivityService.cpp',
192 'nsAsyncRedirectVerifyHelper.cpp',
193 'nsAsyncStreamCopier.cpp',
194 'nsAuthInformationHolder.cpp',
195 'nsBase64Encoder.cpp',
197 'nsBaseContentStream.cpp',
198 'nsBufferedStreams.cpp',
199 'nsDirectoryIndexStream.cpp',
203 'nsIncrementalDownload.cpp',
204 'nsIncrementalStreamLoader.cpp',
205 'nsInputStreamChannel.cpp',
206 'nsInputStreamPump.cpp',
208 'nsIURIMutatorUtils.cpp',
210 'nsMediaFragmentURIParser.cpp',
211 'nsMIMEInputStream.cpp',
215 'nsPreloadedStream.cpp',
216 'nsProtocolProxyService.cpp',
218 'nsRedirectHistoryEntry.cpp',
219 'nsRequestObserverProxy.cpp',
220 'nsSecCheckWrapChannel.cpp',
221 'nsSerializationHelper.cpp',
222 'nsServerSocket.cpp',
223 'nsSimpleNestedURI.cpp',
224 'nsSimpleStreamListener.cpp',
226 'nsSocketTransport2.cpp',
227 'nsSocketTransportService2.cpp',
229 'nsStreamListenerTee.cpp',
230 'nsStreamListenerWrapper.cpp',
231 'nsStreamLoader.cpp',
232 'nsStreamTransportService.cpp',
233 'nsSyncStreamListener.cpp',
234 'nsTransportUtils.cpp',
238 'PartiallySeekableInputStream.cpp',
241 'ProxyAutoConfig.cpp',
242 'RedirectChannelRegistrar.cpp',
243 'RequestContextService.cpp',
246 'SimpleChannelParent.cpp',
247 'TCPFastOpenLayer.cpp',
250 'TLSServerSocket.cpp',
253 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
255 'nsURLHelperWin.cpp',
258 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
260 'nsURLHelperOSX.cpp',
264 'nsURLHelperUnix.cpp',
267 # nsINetworkInfoService support.
268 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
270 'NetworkInfoServiceWindows.cpp',
271 'nsNetworkInfoService.cpp',
273 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
275 'NetworkInfoServiceCocoa.cpp',
276 'nsNetworkInfoService.cpp',
278 elif CONFIG['OS_ARCH'] == 'Linux':
280 'NetworkInfoServiceLinux.cpp',
281 'nsNetworkInfoService.cpp',
284 EXTRA_JS_MODULES += [
290 include('/ipc/chromium/chromium-config.mozbuild')
292 FINAL_LIBRARY = 'xul'
297 '/netwerk/protocol/http',
299 '/netwerk/url-classifier',
302 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
303 CXXFLAGS += ['-Wno-error=shadow']
305 if CONFIG['CC_TYPE'] == 'clang-cl':
306 AllowCompilerWarnings() # workaround for bug 1090497