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 "nsIMultiPartChannel.idl",
61 "nsINetworkConnectivityService.idl",
62 "nsINetworkInfoService.idl",
63 "nsINetworkInterceptController.idl",
64 "nsINetworkLinkService.idl",
65 "nsINetworkPredictor.idl",
66 "nsINetworkPredictorVerifier.idl",
68 "nsIParentChannel.idl",
69 "nsIParentRedirectingChannel.idl",
71 "nsIPermissionManager.idl",
72 "nsIPrivateBrowsingChannel.idl",
73 "nsIProgressEventSink.idl",
75 "nsIProtocolHandler.idl",
76 "nsIProtocolProxyCallback.idl",
77 "nsIProtocolProxyFilter.idl",
78 "nsIProtocolProxyService.idl",
79 "nsIProtocolProxyService2.idl",
80 "nsIProxiedChannel.idl",
81 "nsIProxiedProtocolHandler.idl",
83 "nsIRandomGenerator.idl",
84 "nsIRedirectChannelRegistrar.idl",
85 "nsIRedirectHistoryEntry.idl",
86 "nsIRedirectResultListener.idl",
88 "nsIRequestContext.idl",
89 "nsIRequestObserver.idl",
90 "nsIRequestObserverProxy.idl",
91 "nsIResumableChannel.idl",
92 "nsISecCheckWrapChannel.idl",
93 "nsISecureBrowserUI.idl",
94 "nsISensitiveInfoHiddenURI.idl",
95 "nsISerializationHelper.idl",
96 "nsIServerSocket.idl",
97 "nsISimpleStreamListener.idl",
98 "nsISimpleURIMutator.idl",
99 "nsISocketFilter.idl",
100 "nsISocketTransport.idl",
101 "nsISocketTransportService.idl",
102 "nsISpeculativeConnect.idl",
103 "nsIStandardURL.idl",
104 "nsIStreamListener.idl",
105 "nsIStreamListenerTee.idl",
106 "nsIStreamLoader.idl",
107 "nsIStreamTransportService.idl",
108 "nsISyncStreamListener.idl",
109 "nsISystemProxySettings.idl",
110 "nsIThreadRetargetableRequest.idl",
111 "nsIThreadRetargetableStreamListener.idl",
112 "nsIThrottledInputChannel.idl",
113 "nsITimedChannel.idl",
114 "nsITLSServerSocket.idl",
115 "nsITraceableChannel.idl",
118 "nsIUploadChannel.idl",
119 "nsIUploadChannel2.idl",
122 "nsIURIWithSpecialOrigin.idl",
125 "nsPISocketTransportService.idl",
128 XPIDL_MODULE = "necko"
132 "nsASocketHandler.h",
133 "nsAsyncRedirectVerifyHelper.h",
136 "nsInputStreamPump.h",
137 "nsMIMEInputStream.h",
140 "nsSerializationHelper.h",
141 "nsSimpleNestedURI.h",
144 "nsStreamListenerWrapper.h",
155 "nsRedirectHistoryEntry.h",
158 EXPORTS.mozilla.net += [
159 "CacheInfoIPCTypes.h",
160 "CaptivePortalService.h",
165 "InterceptionInfo.h",
166 "IOActivityMonitor.h",
167 "MemoryDownloader.h",
168 "NetworkConnectivityService.h",
170 "PrivateBrowsingChannel.h",
171 "ProtocolHandlerInfo.h",
172 "RedirectChannelRegistrar.h",
173 "RequestContextService.h",
174 "SimpleChannelParent.h",
180 "ArrayBufferInputStream.cpp",
181 "BackgroundFileSaver.cpp",
182 "CaptivePortalService.cpp",
186 "EventTokenBucket.cpp",
187 "InterceptionInfo.cpp",
188 "IOActivityMonitor.cpp",
189 "LoadContextInfo.cpp",
191 "MemoryDownloader.cpp",
192 "NetworkConnectivityService.cpp",
193 "NetworkDataCountLayer.cpp",
194 "nsAsyncRedirectVerifyHelper.cpp",
195 "nsAsyncStreamCopier.cpp",
196 "nsAuthInformationHolder.cpp",
197 "nsBase64Encoder.cpp",
199 "nsBaseContentStream.cpp",
200 "nsBufferedStreams.cpp",
201 "nsDirectoryIndexStream.cpp",
205 "nsIncrementalDownload.cpp",
206 "nsIncrementalStreamLoader.cpp",
207 "nsInputStreamChannel.cpp",
208 "nsInputStreamPump.cpp",
210 "nsIURIMutatorUtils.cpp",
212 "nsMIMEInputStream.cpp",
216 "nsPreloadedStream.cpp",
217 "nsProtocolProxyService.cpp",
219 "nsRedirectHistoryEntry.cpp",
220 "nsRequestObserverProxy.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 "ProtocolHandlerInfo.cpp",
239 "ProxyAutoConfig.cpp",
240 "RedirectChannelRegistrar.cpp",
241 "RequestContextService.cpp",
244 "SimpleChannelParent.cpp",
245 "SSLTokensCache.cpp",
248 "TLSServerSocket.cpp",
252 if CONFIG["FUZZING"]:
255 "FuzzySecurityInfo.cpp",
256 "FuzzySocketControl.cpp",
259 if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
260 include("/tools/fuzzing/libfuzzer-flags.mozbuild")
262 "nsMediaFragmentURIParser.cpp",
266 SOURCES["nsMediaFragmentURIParser.cpp"].flags += libfuzzer_flags
267 SOURCES["nsURLHelper.cpp"].flags += libfuzzer_flags
268 SOURCES["nsURLParsers.cpp"].flags += libfuzzer_flags
271 "nsMediaFragmentURIParser.cpp",
277 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
279 "nsURLHelperWin.cpp",
282 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
284 "nsURLHelperOSX.cpp",
288 "nsURLHelperUnix.cpp",
291 EXTRA_JS_MODULES += [
295 DIRS += ["mozurl", "rust-helper", "http-sfv"]
297 include("/ipc/chromium/chromium-config.mozbuild")
299 FINAL_LIBRARY = "xul"
302 "!/xpcom/components",
307 "/netwerk/protocol/http",
308 "/netwerk/protocol/webtransport",
310 "/netwerk/url-classifier",
311 "/security/manager/ssl",
315 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
321 "ascii_pac_utils.inc", script="makecppstring.py", inputs=["ascii_pac_utils.js"]