netwerk/base/public/moz.build

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 # -*- Mode: python; c-basic-offset: 4; 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/.
     7 XPIDL_SOURCES += [
     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',
    18     'nsIAuthModule.idl',
    19     'nsIAuthPrompt.idl',
    20     'nsIAuthPrompt2.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',
    29     'nsICancelable.idl',
    30     'nsIChannel.idl',
    31     'nsIChannelEventSink.idl',
    32     'nsIChannelPolicy.idl',
    33     'nsIChildChannel.idl',
    34     'nsIContentSniffer.idl',
    35     'nsICryptoFIPSInfo.idl',
    36     'nsICryptoHash.idl',
    37     'nsICryptoHMAC.idl',
    38     'nsIDashboard.idl',
    39     'nsIDashboardEventNotifier.idl',
    40     'nsIDivertableChannel.idl',
    41     'nsIDownloader.idl',
    42     'nsIEncodedChannel.idl',
    43     'nsIExternalProtocolHandler.idl',
    44     'nsIFileStreams.idl',
    45     'nsIFileURL.idl',
    46     'nsIIncrementalDownload.idl',
    47     'nsIInputStreamChannel.idl',
    48     'nsIInputStreamPump.idl',
    49     'nsIIOService.idl',
    50     'nsIIOService2.idl',
    51     'nsILoadContextInfo.idl',
    52     'nsILoadGroup.idl',
    53     'nsILoadGroupChild.idl',
    54     'nsIMIMEInputStream.idl',
    55     'nsIMultiPartChannel.idl',
    56     'nsINestedURI.idl',
    57     'nsINetAddr.idl',
    58     'nsINetUtil.idl',
    59     'nsINetworkLinkService.idl',
    60     'nsINetworkProperties.idl',
    61     'nsINetworkSeer.idl',
    62     'nsINetworkSeerVerifier.idl',
    63     'nsINSSErrorsService.idl',
    64     'nsIParentChannel.idl',
    65     'nsIParentRedirectingChannel.idl',
    66     'nsIPermission.idl',
    67     'nsIPermissionManager.idl',
    68     'nsIPrivateBrowsingChannel.idl',
    69     'nsIProgressEventSink.idl',
    70     'nsIPrompt.idl',
    71     'nsIProtocolHandler.idl',
    72     'nsIProtocolProxyCallback.idl',
    73     'nsIProtocolProxyFilter.idl',
    74     'nsIProtocolProxyService.idl',
    75     'nsIProtocolProxyService2.idl',
    76     'nsIProxiedChannel.idl',
    77     'nsIProxiedProtocolHandler.idl',
    78     'nsIProxyInfo.idl',
    79     'nsIRandomGenerator.idl',
    80     'nsIRedirectChannelRegistrar.idl',
    81     'nsIRedirectResultListener.idl',
    82     'nsIRequest.idl',
    83     'nsIRequestObserver.idl',
    84     'nsIRequestObserverProxy.idl',
    85     'nsIResumableChannel.idl',
    86     'nsISecretDecoderRing.idl',
    87     'nsISecureBrowserUI.idl',
    88     'nsISecurityEventSink.idl',
    89     'nsISecurityInfoProvider.idl',
    90     'nsISerializationHelper.idl',
    91     'nsIServerSocket.idl',
    92     'nsISimpleStreamListener.idl',
    93     'nsISiteSecurityService.idl',
    94     'nsISocketTransport.idl',
    95     'nsISocketTransportService.idl',
    96     'nsISpeculativeConnect.idl',
    97     'nsIStandardURL.idl',
    98     'nsIStreamingProtocolController.idl',
    99     'nsIStreamingProtocolService.idl',
   100     'nsIStreamListener.idl',
   101     'nsIStreamListenerTee.idl',
   102     'nsIStreamLoader.idl',
   103     'nsIStreamTransportService.idl',
   104     'nsISyncStreamListener.idl',
   105     'nsISystemProxySettings.idl',
   106     'nsIThreadRetargetableRequest.idl',
   107     'nsIThreadRetargetableStreamListener.idl',
   108     'nsITimedChannel.idl',
   109     'nsITraceableChannel.idl',
   110     'nsITransport.idl',
   111     'nsIUDPSocket.idl',
   112     'nsIUDPSocketFilter.idl',
   113     'nsIUnicharStreamLoader.idl',
   114     'nsIUploadChannel.idl',
   115     'nsIUploadChannel2.idl',
   116     'nsIURI.idl',
   117     'nsIURIChecker.idl',
   118     'nsIURIClassifier.idl',
   119     'nsIURIWithPrincipal.idl',
   120     'nsIURL.idl',
   121     'nsIURLParser.idl',
   122     'nsPILoadGroupInternal.idl',
   123     'nsPISocketTransportService.idl',
   124 ]
   126 if CONFIG['MOZ_TOOLKIT_SEARCH']:
   127     XPIDL_SOURCES += [
   128         'nsIBrowserSearchService.idl',
   129     ]
   131 XPIDL_MODULE = 'necko'
   133 EXPORTS += [
   134     'netCore.h',
   135     'nsASocketHandler.h',
   136     'nsAsyncRedirectVerifyHelper.h',
   137     'nsChannelProperties.h',
   138     'nsNetStrings.h',
   139     'nsNetUtil.h',
   140     'nsReadLine.h',
   141     'nsStreamListenerWrapper.h',
   142     'nsURIHashKey.h',
   143 ]
   145 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
   146     EXPORTS += [
   147         'NetStatistics.h',
   148     ]
   150 FAIL_ON_WARNINGS = True

mercurial