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",
21 "nsIBufferedStreams.idl",
22 "nsIByteRangeRequest.idl",
23 "nsICacheInfoChannel.idl",
24 "nsICachingChannel.idl",
26 "nsICaptivePortalService.idl",
28 "nsIChannelEventSink.idl",
29 "nsIChildChannel.idl",
30 "nsIClassifiedChannel.idl",
31 "nsIClassOfService.idl",
32 "nsIContentSniffer.idl",
34 "nsIDashboardEventNotifier.idl",
37 "nsIEncodedChannel.idl",
38 "nsIExternalProtocolHandler.idl",
41 "nsIForcePendingChannel.idl",
42 "nsIFormPOSTActionChannel.idl",
43 "nsIHttpAuthenticatorCallback.idl",
44 "nsIHttpPushListener.idl",
45 "nsIIncrementalDownload.idl",
46 "nsIIncrementalStreamLoader.idl",
47 "nsIInputStreamChannel.idl",
48 "nsIInputStreamPump.idl",
49 "nsIInterceptionInfo.idl",
51 "nsILoadContextInfo.idl",
53 "nsILoadGroupChild.idl",
55 "nsIMIMEInputStream.idl",
56 "nsIMultiPartChannel.idl",
60 "nsINetworkConnectivityService.idl",
61 "nsINetworkInfoService.idl",
62 "nsINetworkInterceptController.idl",
63 "nsINetworkLinkService.idl",
64 "nsINetworkPredictor.idl",
65 "nsINetworkPredictorVerifier.idl",
67 "nsIParentChannel.idl",
68 "nsIParentRedirectingChannel.idl",
70 "nsIPermissionManager.idl",
71 "nsIPrivateBrowsingChannel.idl",
72 "nsIProgressEventSink.idl",
74 "nsIProtocolHandler.idl",
75 "nsIProtocolProxyCallback.idl",
76 "nsIProtocolProxyFilter.idl",
77 "nsIProtocolProxyService.idl",
78 "nsIProtocolProxyService2.idl",
79 "nsIProxiedChannel.idl",
80 "nsIProxiedProtocolHandler.idl",
82 "nsIRandomGenerator.idl",
83 "nsIRedirectChannelRegistrar.idl",
84 "nsIRedirectHistoryEntry.idl",
85 "nsIRedirectResultListener.idl",
87 "nsIRequestContext.idl",
88 "nsIRequestObserver.idl",
89 "nsIRequestObserverProxy.idl",
90 "nsIResumableChannel.idl",
91 "nsISecCheckWrapChannel.idl",
92 "nsISecureBrowserUI.idl",
93 "nsISensitiveInfoHiddenURI.idl",
94 "nsISerializationHelper.idl",
95 "nsIServerSocket.idl",
96 "nsISimpleStreamListener.idl",
97 "nsISimpleURIMutator.idl",
98 "nsISocketFilter.idl",
99 "nsISocketTransport.idl",
100 "nsISocketTransportService.idl",
101 "nsISpeculativeConnect.idl",
102 "nsIStandardURL.idl",
103 "nsIStreamListener.idl",
104 "nsIStreamListenerTee.idl",
105 "nsIStreamLoader.idl",
106 "nsIStreamTransportService.idl",
107 "nsISyncStreamListener.idl",
108 "nsISystemProxySettings.idl",
109 "nsIThreadRetargetableRequest.idl",
110 "nsIThreadRetargetableStreamListener.idl",
111 "nsIThrottledInputChannel.idl",
112 "nsITimedChannel.idl",
113 "nsITLSServerSocket.idl",
114 "nsITraceableChannel.idl",
117 "nsIUploadChannel.idl",
118 "nsIUploadChannel2.idl",
121 "nsIURIWithSpecialOrigin.idl",
124 "nsPISocketTransportService.idl",
127 XPIDL_MODULE = "necko"
131 "nsASocketHandler.h",
132 "nsAsyncRedirectVerifyHelper.h",
135 "nsInputStreamPump.h",
136 "nsMIMEInputStream.h",
139 "nsSerializationHelper.h",
140 "nsSimpleNestedURI.h",
143 "nsStreamListenerWrapper.h",
154 "nsRedirectHistoryEntry.h",
157 EXPORTS.mozilla.net += [
158 "CacheInfoIPCTypes.h",
159 "CaptivePortalService.h",
163 "InterceptionInfo.h",
164 "IOActivityMonitor.h",
165 "MemoryDownloader.h",
166 "NetworkConnectivityService.h",
168 "PrivateBrowsingChannel.h",
169 "ProtocolHandlerInfo.h",
170 "RedirectChannelRegistrar.h",
171 "RequestContextService.h",
172 "SimpleChannelParent.h",
178 "ArrayBufferInputStream.cpp",
179 "BackgroundFileSaver.cpp",
180 "CaptivePortalService.cpp",
183 "EventTokenBucket.cpp",
184 "InterceptionInfo.cpp",
185 "IOActivityMonitor.cpp",
186 "LoadContextInfo.cpp",
188 "MemoryDownloader.cpp",
189 "NetworkConnectivityService.cpp",
190 "NetworkDataCountLayer.cpp",
191 "nsAsyncRedirectVerifyHelper.cpp",
192 "nsAsyncStreamCopier.cpp",
193 "nsAuthInformationHolder.cpp",
194 "nsBase64Encoder.cpp",
196 "nsBaseContentStream.cpp",
197 "nsBufferedStreams.cpp",
198 "nsDirectoryIndexStream.cpp",
202 "nsIncrementalDownload.cpp",
203 "nsIncrementalStreamLoader.cpp",
204 "nsInputStreamChannel.cpp",
205 "nsInputStreamPump.cpp",
207 "nsIURIMutatorUtils.cpp",
209 "nsMIMEInputStream.cpp",
213 "nsPreloadedStream.cpp",
214 "nsProtocolProxyService.cpp",
216 "nsRedirectHistoryEntry.cpp",
217 "nsRequestObserverProxy.cpp",
218 "nsSerializationHelper.cpp",
219 "nsServerSocket.cpp",
220 "nsSimpleNestedURI.cpp",
221 "nsSimpleStreamListener.cpp",
223 "nsSocketTransport2.cpp",
224 "nsSocketTransportService2.cpp",
226 "nsStreamListenerTee.cpp",
227 "nsStreamListenerWrapper.cpp",
228 "nsStreamLoader.cpp",
229 "nsStreamTransportService.cpp",
230 "nsSyncStreamListener.cpp",
231 "nsTransportUtils.cpp",
235 "ProtocolHandlerInfo.cpp",
236 "ProxyAutoConfig.cpp",
237 "RedirectChannelRegistrar.cpp",
238 "RequestContextService.cpp",
241 "SimpleChannelParent.cpp",
242 "SSLTokensCache.cpp",
245 "TLSServerSocket.cpp",
249 if CONFIG["FUZZING"]:
252 "FuzzySecurityInfo.cpp",
253 "FuzzySocketControl.cpp",
256 if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
257 include("/tools/fuzzing/libfuzzer-flags.mozbuild")
259 "nsMediaFragmentURIParser.cpp",
263 SOURCES["nsMediaFragmentURIParser.cpp"].flags += libfuzzer_flags
264 SOURCES["nsURLHelper.cpp"].flags += libfuzzer_flags
265 SOURCES["nsURLParsers.cpp"].flags += libfuzzer_flags
268 "nsMediaFragmentURIParser.cpp",
274 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
276 "nsURLHelperWin.cpp",
279 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
281 "nsURLHelperOSX.cpp",
285 "nsURLHelperUnix.cpp",
288 # nsINetworkInfoService support.
289 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
291 "NetworkInfoServiceWindows.cpp",
292 "nsNetworkInfoService.cpp",
294 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
296 "NetworkInfoServiceCocoa.cpp",
297 "nsNetworkInfoService.cpp",
299 elif CONFIG["OS_ARCH"] == "Linux":
301 "NetworkInfoServiceLinux.cpp",
302 "nsNetworkInfoService.cpp",
305 EXTRA_JS_MODULES += [
309 DIRS += ["mozurl", "rust-helper", "http-sfv"]
311 include("/ipc/chromium/chromium-config.mozbuild")
313 FINAL_LIBRARY = "xul"
316 "!/xpcom/components",
321 "/netwerk/protocol/http",
322 "/netwerk/protocol/webtransport",
324 "/netwerk/url-classifier",
325 "/security/manager/ssl",
329 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
335 "ascii_pac_utils.inc", script="makecppstring.py", inputs=["ascii_pac_utils.js"]