netwerk/base/src/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/base/src/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,135 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +EXPORTS += [
    1.11 +    'nsFileStreams.h',
    1.12 +    'nsMIMEInputStream.h',
    1.13 +    'nsTemporaryFileInputStream.h',
    1.14 +    'nsURLHelper.h',
    1.15 +]
    1.16 +
    1.17 +EXPORTS.mozilla.net += [
    1.18 +    'ChannelDiverterChild.h',
    1.19 +    'ChannelDiverterParent.h',
    1.20 +    'Dashboard.h',
    1.21 +    'DashboardTypes.h',
    1.22 +]
    1.23 +
    1.24 +UNIFIED_SOURCES += [
    1.25 +    'ArrayBufferInputStream.cpp',
    1.26 +    'BackgroundFileSaver.cpp',
    1.27 +    'ChannelDiverterChild.cpp',
    1.28 +    'ChannelDiverterParent.cpp',
    1.29 +    'Dashboard.cpp',
    1.30 +    'EventTokenBucket.cpp',
    1.31 +    'LoadContextInfo.cpp',
    1.32 +    'NetworkActivityMonitor.cpp',
    1.33 +    'nsAsyncStreamCopier.cpp',
    1.34 +    'nsAuthInformationHolder.cpp',
    1.35 +    'nsBase64Encoder.cpp',
    1.36 +    'nsBaseChannel.cpp',
    1.37 +    'nsBaseContentStream.cpp',
    1.38 +    'nsBufferedStreams.cpp',
    1.39 +    'nsChannelClassifier.cpp',
    1.40 +    'nsDirectoryIndexStream.cpp',
    1.41 +    'nsDNSPrefetch.cpp',
    1.42 +    'nsDownloader.cpp',
    1.43 +    'nsFileStreams.cpp',
    1.44 +    'nsIncrementalDownload.cpp',
    1.45 +    'nsInputStreamChannel.cpp',
    1.46 +    'nsInputStreamPump.cpp',
    1.47 +    'nsIOService.cpp',
    1.48 +    'nsLoadGroup.cpp',
    1.49 +    'nsMediaFragmentURIParser.cpp',
    1.50 +    'nsMIMEInputStream.cpp',
    1.51 +    'nsNetAddr.cpp',
    1.52 +    'nsNetStrings.cpp',
    1.53 +    'nsPACMan.cpp',
    1.54 +    'nsPreloadedStream.cpp',
    1.55 +    'nsProtocolProxyService.cpp',
    1.56 +    'nsProxyInfo.cpp',
    1.57 +    'nsRequestObserverProxy.cpp',
    1.58 +    'nsSerializationHelper.cpp',
    1.59 +    'nsServerSocket.cpp',
    1.60 +    'nsSimpleNestedURI.cpp',
    1.61 +    'nsSimpleStreamListener.cpp',
    1.62 +    'nsSimpleURI.cpp',
    1.63 +    'nsStandardURL.cpp',
    1.64 +    'nsStreamListenerTee.cpp',
    1.65 +    'nsStreamListenerWrapper.cpp',
    1.66 +    'nsStreamLoader.cpp',
    1.67 +    'nsStreamTransportService.cpp',
    1.68 +    'nsSyncStreamListener.cpp',
    1.69 +    'nsTemporaryFileInputStream.cpp',
    1.70 +    'nsTransportUtils.cpp',
    1.71 +    'nsUDPSocket.cpp',
    1.72 +    'nsUnicharStreamLoader.cpp',
    1.73 +    'nsURIChecker.cpp',
    1.74 +    'nsURLHelper.cpp',
    1.75 +    'nsURLParsers.cpp',
    1.76 +    'ProxyAutoConfig.cpp',
    1.77 +    'RedirectChannelRegistrar.cpp',
    1.78 +    'Seer.cpp',
    1.79 +    'StreamingProtocolService.cpp',
    1.80 +    'Tickler.cpp',
    1.81 +]
    1.82 +
    1.83 +# These files cannot be built in unified mode because they force NSPR logging.
    1.84 +SOURCES += [
    1.85 +    'nsAsyncRedirectVerifyHelper.cpp',
    1.86 +    'nsSocketTransport2.cpp',
    1.87 +    'nsSocketTransportService2.cpp',
    1.88 +]
    1.89 +
    1.90 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    1.91 +    SOURCES += [
    1.92 +        'nsAutodialWin.cpp',
    1.93 +        'nsNativeConnectionHelper.cpp',
    1.94 +        'nsURLHelperWin.cpp',
    1.95 +    ]
    1.96 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    1.97 +    SOURCES += [
    1.98 +        'nsURLHelperOSX.cpp',
    1.99 +    ]
   1.100 +else:
   1.101 +    SOURCES += [
   1.102 +        'nsURLHelperUnix.cpp',
   1.103 +    ]
   1.104 +
   1.105 +if CONFIG['MOZ_ENABLE_QTNETWORK']:
   1.106 +    SOURCES += [
   1.107 +        'nsAutodialQt.cpp',
   1.108 +    ]
   1.109 +
   1.110 +EXTRA_JS_MODULES += [
   1.111 +    'NetUtil.jsm',
   1.112 +]
   1.113 +
   1.114 +FAIL_ON_WARNINGS = True
   1.115 +
   1.116 +MSVC_ENABLE_PGO = True
   1.117 +
   1.118 +include('/ipc/chromium/chromium-config.mozbuild')
   1.119 +
   1.120 +FINAL_LIBRARY = 'necko'
   1.121 +LOCAL_INCLUDES += [
   1.122 +    '/dom/base',
   1.123 +    '/netwerk/protocol/http'
   1.124 +]
   1.125 +
   1.126 +if 'rtsp' in CONFIG['NECKO_PROTOCOLS']:
   1.127 +    LOCAL_INCLUDES += [
   1.128 +        '/netwerk/protocol/rtsp/controller',
   1.129 +        '/netwerk/protocol/rtsp/rtsp',
   1.130 +    ]
   1.131 +
   1.132 +if CONFIG['MOZ_ENABLE_QTNETWORK']:
   1.133 +    LOCAL_INCLUDES += [
   1.134 +        '/netwerk/system/qt',
   1.135 +    ]
   1.136 +
   1.137 +if CONFIG['ENABLE_TESTS']:
   1.138 +    DEFINES['SEER_TESTS'] = True

mercurial