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 "nsIArrayBufferInputStream.idl",
10 "nsIAsyncStreamCopier.idl",
11 "nsIAsyncStreamCopier2.idl",
12 "nsIAsyncVerifyRedirectCallback.idl",
13 "nsIAuthInformation.idl",
17 "nsIAuthPromptAdapterFactory.idl",
18 "nsIAuthPromptCallback.idl",
19 "nsIAuthPromptProvider.idl",
20 "nsIBackgroundFileSaver.idl",
22 "nsIBufferedStreams.idl",
23 "nsIByteRangeRequest.idl",
24 "nsICacheInfoChannel.idl",
25 "nsICachingChannel.idl",
27 "nsICaptivePortalService.idl",
29 "nsIChannelEventSink.idl",
30 "nsIChildChannel.idl",
31 "nsIClassifiedChannel.idl",
32 "nsIClassOfService.idl",
33 "nsIContentSniffer.idl",
35 "nsIDashboardEventNotifier.idl",
38 "nsIEncodedChannel.idl",
39 "nsIExternalProtocolHandler.idl",
42 "nsIForcePendingChannel.idl",
43 "nsIFormPOSTActionChannel.idl",
44 "nsIHttpAuthenticatorCallback.idl",
45 "nsIHttpPushListener.idl",
46 "nsIIncrementalDownload.idl",
47 "nsIIncrementalStreamLoader.idl",
48 "nsIInputStreamChannel.idl",
49 "nsIInputStreamPump.idl",
50 "nsIInterceptionInfo.idl",
52 "nsILoadContextInfo.idl",
54 "nsILoadGroupChild.idl",
56 "nsIMIMEInputStream.idl",
57 "nsIMockNetworkLayerController.idl",
58 "nsIMultiPartChannel.idl",
62 "nsINetworkConnectivityService.idl",
63 "nsINetworkInfoService.idl",
64 "nsINetworkInterceptController.idl",
65 "nsINetworkLinkService.idl",
66 "nsINetworkPredictor.idl",
67 "nsINetworkPredictorVerifier.idl",
69 "nsIParentChannel.idl",
70 "nsIParentRedirectingChannel.idl",
72 "nsIPermissionManager.idl",
73 "nsIPrivateBrowsingChannel.idl",
74 "nsIProgressEventSink.idl",
76 "nsIProtocolHandler.idl",
77 "nsIProtocolProxyCallback.idl",
78 "nsIProtocolProxyFilter.idl",
79 "nsIProtocolProxyService.idl",
80 "nsIProtocolProxyService2.idl",
81 "nsIProxiedChannel.idl",
82 "nsIProxiedProtocolHandler.idl",
84 "nsIRandomGenerator.idl",
85 "nsIRedirectChannelRegistrar.idl",
86 "nsIRedirectHistoryEntry.idl",
87 "nsIRedirectResultListener.idl",
89 "nsIRequestContext.idl",
90 "nsIRequestObserver.idl",
91 "nsIRequestObserverProxy.idl",
92 "nsIResumableChannel.idl",
93 "nsISecCheckWrapChannel.idl",
94 "nsISecureBrowserUI.idl",
95 "nsISensitiveInfoHiddenURI.idl",
96 "nsISerializationHelper.idl",
97 "nsIServerSocket.idl",
98 "nsISimpleStreamListener.idl",
99 "nsISimpleURIMutator.idl",
100 "nsISocketFilter.idl",
101 "nsISocketTransport.idl",
102 "nsISocketTransportService.idl",
103 "nsISpeculativeConnect.idl",
104 "nsIStandardURL.idl",
105 "nsIStreamListener.idl",
106 "nsIStreamListenerTee.idl",
107 "nsIStreamLoader.idl",
108 "nsIStreamTransportService.idl",
109 "nsISyncStreamListener.idl",
110 "nsISystemProxySettings.idl",
111 "nsIThreadRetargetableRequest.idl",
112 "nsIThreadRetargetableStreamListener.idl",
113 "nsIThrottledInputChannel.idl",
114 "nsITimedChannel.idl",
115 "nsITLSServerSocket.idl",
116 "nsITraceableChannel.idl",
119 "nsIUploadChannel.idl",
120 "nsIUploadChannel2.idl",
123 "nsIURIWithSpecialOrigin.idl",
126 "nsPISocketTransportService.idl",
129 XPIDL_MODULE = "necko"
133 "nsASocketHandler.h",
134 "nsAsyncRedirectVerifyHelper.h",
137 "nsInputStreamPump.h",
138 "nsMIMEInputStream.h",
141 "nsSerializationHelper.h",
142 "nsSimpleNestedURI.h",
145 "nsStreamListenerWrapper.h",
156 "nsRedirectHistoryEntry.h",
159 EXPORTS.mozilla.net += [
160 "CacheInfoIPCTypes.h",
161 "CaptivePortalService.h",
166 "InterceptionInfo.h",
168 "MemoryDownloader.h",
169 "NetworkConnectivityService.h",
171 "PrivateBrowsingChannel.h",
172 "ProtocolHandlerInfo.h",
173 "RedirectChannelRegistrar.h",
174 "RequestContextService.h",
175 "SimpleChannelParent.h",
176 "SimpleURIUnknownSchemes.h",
182 "ArrayBufferInputStream.cpp",
183 "BackgroundFileSaver.cpp",
184 "CaptivePortalService.cpp",
188 "EventTokenBucket.cpp",
189 "InterceptionInfo.cpp",
191 "LoadContextInfo.cpp",
193 "MemoryDownloader.cpp",
194 "MockNetworkLayer.cpp",
195 "MockNetworkLayerController.cpp",
196 "NetworkConnectivityService.cpp",
197 "NetworkDataCountLayer.cpp",
198 "nsAsyncRedirectVerifyHelper.cpp",
199 "nsAsyncStreamCopier.cpp",
200 "nsAuthInformationHolder.cpp",
201 "nsBase64Encoder.cpp",
203 "nsBaseContentStream.cpp",
204 "nsBufferedStreams.cpp",
205 "nsDirectoryIndexStream.cpp",
209 "nsIncrementalDownload.cpp",
210 "nsIncrementalStreamLoader.cpp",
211 "nsInputStreamChannel.cpp",
212 "nsInputStreamPump.cpp",
214 "nsIURIMutatorUtils.cpp",
216 "nsMIMEInputStream.cpp",
220 "nsPreloadedStream.cpp",
221 "nsProtocolProxyService.cpp",
223 "nsRedirectHistoryEntry.cpp",
224 "nsRequestObserverProxy.cpp",
225 "nsSerializationHelper.cpp",
226 "nsServerSocket.cpp",
227 "nsSimpleNestedURI.cpp",
228 "nsSimpleStreamListener.cpp",
230 "nsSocketTransport2.cpp",
231 "nsSocketTransportService2.cpp",
233 "nsStreamListenerTee.cpp",
234 "nsStreamListenerWrapper.cpp",
235 "nsStreamLoader.cpp",
236 "nsStreamTransportService.cpp",
237 "nsSyncStreamListener.cpp",
238 "nsTransportUtils.cpp",
242 "ProtocolHandlerInfo.cpp",
243 "ProxyAutoConfig.cpp",
244 "RedirectChannelRegistrar.cpp",
245 "RequestContextService.cpp",
248 "SimpleChannelParent.cpp",
249 "SimpleURIUnknownSchemes.cpp",
250 "SSLTokensCache.cpp",
253 "TLSServerSocket.cpp",
257 if CONFIG["FUZZING"]:
260 "FuzzySecurityInfo.cpp",
261 "FuzzySocketControl.cpp",
264 if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
265 include("/tools/fuzzing/libfuzzer-flags.mozbuild")
267 "nsMediaFragmentURIParser.cpp",
271 SOURCES["nsMediaFragmentURIParser.cpp"].flags += libfuzzer_flags
272 SOURCES["nsURLHelper.cpp"].flags += libfuzzer_flags
273 SOURCES["nsURLParsers.cpp"].flags += libfuzzer_flags
276 "nsMediaFragmentURIParser.cpp",
282 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
284 "nsURLHelperWin.cpp",
287 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
289 "nsURLHelperOSX.cpp",
293 "nsURLHelperUnix.cpp",
296 EXTRA_JS_MODULES += [
298 "SimpleURIUnknownSchemesRemoteObserver.sys.mjs",
301 DIRS += ["mozurl", "rust-helper", "http-sfv", "idna_glue"]
303 include("/ipc/chromium/chromium-config.mozbuild")
305 FINAL_LIBRARY = "xul"
308 "!/xpcom/components",
313 "/netwerk/protocol/http",
314 "/netwerk/protocol/webtransport",
316 "/netwerk/url-classifier",
317 "/security/manager/ssl",
321 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
327 "ascii_pac_utils.inc", script="makecppstring.py", inputs=["ascii_pac_utils.js"]