netwerk/protocol/http/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 XPIDL_SOURCES += [
michael@0 8 'nsIHttpActivityObserver.idl',
michael@0 9 'nsIHttpAuthenticableChannel.idl',
michael@0 10 'nsIHttpAuthenticator.idl',
michael@0 11 'nsIHttpAuthManager.idl',
michael@0 12 'nsIHttpChannel.idl',
michael@0 13 'nsIHttpChannelAuthProvider.idl',
michael@0 14 'nsIHttpChannelChild.idl',
michael@0 15 'nsIHttpChannelInternal.idl',
michael@0 16 'nsIHttpEventSink.idl',
michael@0 17 'nsIHttpHeaderVisitor.idl',
michael@0 18 'nsIHttpProtocolHandler.idl',
michael@0 19 ]
michael@0 20
michael@0 21 XPIDL_MODULE = 'necko_http'
michael@0 22
michael@0 23 EXPORTS += [
michael@0 24 'nsHttp.h',
michael@0 25 'nsHttpAtomList.h',
michael@0 26 'nsHttpHeaderArray.h',
michael@0 27 'nsHttpResponseHead.h',
michael@0 28 ]
michael@0 29
michael@0 30 EXPORTS.mozilla.net += [
michael@0 31 'HttpBaseChannel.h',
michael@0 32 'HttpChannelChild.h',
michael@0 33 'HttpChannelParent.h',
michael@0 34 'HttpInfo.h',
michael@0 35 'PHttpChannelParams.h',
michael@0 36 'PSpdyPush.h',
michael@0 37 ]
michael@0 38
michael@0 39 # ASpdySession.cpp and nsHttpAuthCache cannot be built in unified mode because
michael@0 40 # they use plarena.h.
michael@0 41 # The rest of these files cannot be built in unified mode because they want to
michael@0 42 # force NSPR logging.
michael@0 43 SOURCES += [
michael@0 44 'ASpdySession.cpp',
michael@0 45 'ConnectionDiagnostics.cpp',
michael@0 46 'Http2Compression.cpp',
michael@0 47 'Http2Push.cpp',
michael@0 48 'Http2Session.cpp',
michael@0 49 'Http2Stream.cpp',
michael@0 50 'HttpBaseChannel.cpp',
michael@0 51 'HttpChannelChild.cpp',
michael@0 52 'HttpChannelParent.cpp',
michael@0 53 'HttpChannelParentListener.cpp',
michael@0 54 'HttpInfo.cpp',
michael@0 55 'nsHttp.cpp',
michael@0 56 'nsHttpActivityDistributor.cpp',
michael@0 57 'nsHttpAuthCache.cpp',
michael@0 58 'nsHttpAuthManager.cpp',
michael@0 59 'nsHttpBasicAuth.cpp',
michael@0 60 'nsHttpChannel.cpp',
michael@0 61 'nsHttpChannelAuthProvider.cpp',
michael@0 62 'nsHttpChunkedDecoder.cpp',
michael@0 63 'nsHttpConnection.cpp',
michael@0 64 'nsHttpConnectionInfo.cpp',
michael@0 65 'nsHttpConnectionMgr.cpp',
michael@0 66 'nsHttpDigestAuth.cpp',
michael@0 67 'nsHttpHeaderArray.cpp',
michael@0 68 'nsHttpNTLMAuth.cpp',
michael@0 69 'nsHttpPipeline.cpp',
michael@0 70 'nsHttpRequestHead.cpp',
michael@0 71 'nsHttpResponseHead.cpp',
michael@0 72 'nsHttpTransaction.cpp',
michael@0 73 'NullHttpTransaction.cpp',
michael@0 74 'SpdyPush3.cpp',
michael@0 75 'SpdyPush31.cpp',
michael@0 76 'SpdySession3.cpp',
michael@0 77 'SpdySession31.cpp',
michael@0 78 'SpdyStream3.cpp',
michael@0 79 'SpdyStream31.cpp',
michael@0 80 'SpdyZlibReporter.cpp',
michael@0 81 ]
michael@0 82
michael@0 83 # These files cannot be built in unified mode because of OS X headers.
michael@0 84 SOURCES += [
michael@0 85 'nsHttpHandler.cpp',
michael@0 86 ]
michael@0 87
michael@0 88 IPDL_SOURCES += [
michael@0 89 'PHttpChannel.ipdl',
michael@0 90 ]
michael@0 91
michael@0 92 EXTRA_JS_MODULES += [
michael@0 93 'UserAgentOverrides.jsm',
michael@0 94 'UserAgentUpdates.jsm',
michael@0 95 ]
michael@0 96
michael@0 97 FAIL_ON_WARNINGS = True
michael@0 98
michael@0 99 MSVC_ENABLE_PGO = True
michael@0 100
michael@0 101 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 102
michael@0 103 FINAL_LIBRARY = 'necko'
michael@0 104
michael@0 105 LOCAL_INCLUDES += [
michael@0 106 '../../base/src',
michael@0 107 '/content/base/src',
michael@0 108 ]

mercurial