1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/protocol/http/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,108 @@ 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 +XPIDL_SOURCES += [ 1.11 + 'nsIHttpActivityObserver.idl', 1.12 + 'nsIHttpAuthenticableChannel.idl', 1.13 + 'nsIHttpAuthenticator.idl', 1.14 + 'nsIHttpAuthManager.idl', 1.15 + 'nsIHttpChannel.idl', 1.16 + 'nsIHttpChannelAuthProvider.idl', 1.17 + 'nsIHttpChannelChild.idl', 1.18 + 'nsIHttpChannelInternal.idl', 1.19 + 'nsIHttpEventSink.idl', 1.20 + 'nsIHttpHeaderVisitor.idl', 1.21 + 'nsIHttpProtocolHandler.idl', 1.22 +] 1.23 + 1.24 +XPIDL_MODULE = 'necko_http' 1.25 + 1.26 +EXPORTS += [ 1.27 + 'nsHttp.h', 1.28 + 'nsHttpAtomList.h', 1.29 + 'nsHttpHeaderArray.h', 1.30 + 'nsHttpResponseHead.h', 1.31 +] 1.32 + 1.33 +EXPORTS.mozilla.net += [ 1.34 + 'HttpBaseChannel.h', 1.35 + 'HttpChannelChild.h', 1.36 + 'HttpChannelParent.h', 1.37 + 'HttpInfo.h', 1.38 + 'PHttpChannelParams.h', 1.39 + 'PSpdyPush.h', 1.40 +] 1.41 + 1.42 +# ASpdySession.cpp and nsHttpAuthCache cannot be built in unified mode because 1.43 +# they use plarena.h. 1.44 +# The rest of these files cannot be built in unified mode because they want to 1.45 +# force NSPR logging. 1.46 +SOURCES += [ 1.47 + 'ASpdySession.cpp', 1.48 + 'ConnectionDiagnostics.cpp', 1.49 + 'Http2Compression.cpp', 1.50 + 'Http2Push.cpp', 1.51 + 'Http2Session.cpp', 1.52 + 'Http2Stream.cpp', 1.53 + 'HttpBaseChannel.cpp', 1.54 + 'HttpChannelChild.cpp', 1.55 + 'HttpChannelParent.cpp', 1.56 + 'HttpChannelParentListener.cpp', 1.57 + 'HttpInfo.cpp', 1.58 + 'nsHttp.cpp', 1.59 + 'nsHttpActivityDistributor.cpp', 1.60 + 'nsHttpAuthCache.cpp', 1.61 + 'nsHttpAuthManager.cpp', 1.62 + 'nsHttpBasicAuth.cpp', 1.63 + 'nsHttpChannel.cpp', 1.64 + 'nsHttpChannelAuthProvider.cpp', 1.65 + 'nsHttpChunkedDecoder.cpp', 1.66 + 'nsHttpConnection.cpp', 1.67 + 'nsHttpConnectionInfo.cpp', 1.68 + 'nsHttpConnectionMgr.cpp', 1.69 + 'nsHttpDigestAuth.cpp', 1.70 + 'nsHttpHeaderArray.cpp', 1.71 + 'nsHttpNTLMAuth.cpp', 1.72 + 'nsHttpPipeline.cpp', 1.73 + 'nsHttpRequestHead.cpp', 1.74 + 'nsHttpResponseHead.cpp', 1.75 + 'nsHttpTransaction.cpp', 1.76 + 'NullHttpTransaction.cpp', 1.77 + 'SpdyPush3.cpp', 1.78 + 'SpdyPush31.cpp', 1.79 + 'SpdySession3.cpp', 1.80 + 'SpdySession31.cpp', 1.81 + 'SpdyStream3.cpp', 1.82 + 'SpdyStream31.cpp', 1.83 + 'SpdyZlibReporter.cpp', 1.84 +] 1.85 + 1.86 +# These files cannot be built in unified mode because of OS X headers. 1.87 +SOURCES += [ 1.88 + 'nsHttpHandler.cpp', 1.89 +] 1.90 + 1.91 +IPDL_SOURCES += [ 1.92 + 'PHttpChannel.ipdl', 1.93 +] 1.94 + 1.95 +EXTRA_JS_MODULES += [ 1.96 + 'UserAgentOverrides.jsm', 1.97 + 'UserAgentUpdates.jsm', 1.98 +] 1.99 + 1.100 +FAIL_ON_WARNINGS = True 1.101 + 1.102 +MSVC_ENABLE_PGO = True 1.103 + 1.104 +include('/ipc/chromium/chromium-config.mozbuild') 1.105 + 1.106 +FINAL_LIBRARY = 'necko' 1.107 + 1.108 +LOCAL_INCLUDES += [ 1.109 + '../../base/src', 1.110 + '/content/base/src', 1.111 +]