michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIHttpActivityObserver.idl', michael@0: 'nsIHttpAuthenticableChannel.idl', michael@0: 'nsIHttpAuthenticator.idl', michael@0: 'nsIHttpAuthManager.idl', michael@0: 'nsIHttpChannel.idl', michael@0: 'nsIHttpChannelAuthProvider.idl', michael@0: 'nsIHttpChannelChild.idl', michael@0: 'nsIHttpChannelInternal.idl', michael@0: 'nsIHttpEventSink.idl', michael@0: 'nsIHttpHeaderVisitor.idl', michael@0: 'nsIHttpProtocolHandler.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'necko_http' michael@0: michael@0: EXPORTS += [ michael@0: 'nsHttp.h', michael@0: 'nsHttpAtomList.h', michael@0: 'nsHttpHeaderArray.h', michael@0: 'nsHttpResponseHead.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.net += [ michael@0: 'HttpBaseChannel.h', michael@0: 'HttpChannelChild.h', michael@0: 'HttpChannelParent.h', michael@0: 'HttpInfo.h', michael@0: 'PHttpChannelParams.h', michael@0: 'PSpdyPush.h', michael@0: ] michael@0: michael@0: # ASpdySession.cpp and nsHttpAuthCache cannot be built in unified mode because michael@0: # they use plarena.h. michael@0: # The rest of these files cannot be built in unified mode because they want to michael@0: # force NSPR logging. michael@0: SOURCES += [ michael@0: 'ASpdySession.cpp', michael@0: 'ConnectionDiagnostics.cpp', michael@0: 'Http2Compression.cpp', michael@0: 'Http2Push.cpp', michael@0: 'Http2Session.cpp', michael@0: 'Http2Stream.cpp', michael@0: 'HttpBaseChannel.cpp', michael@0: 'HttpChannelChild.cpp', michael@0: 'HttpChannelParent.cpp', michael@0: 'HttpChannelParentListener.cpp', michael@0: 'HttpInfo.cpp', michael@0: 'nsHttp.cpp', michael@0: 'nsHttpActivityDistributor.cpp', michael@0: 'nsHttpAuthCache.cpp', michael@0: 'nsHttpAuthManager.cpp', michael@0: 'nsHttpBasicAuth.cpp', michael@0: 'nsHttpChannel.cpp', michael@0: 'nsHttpChannelAuthProvider.cpp', michael@0: 'nsHttpChunkedDecoder.cpp', michael@0: 'nsHttpConnection.cpp', michael@0: 'nsHttpConnectionInfo.cpp', michael@0: 'nsHttpConnectionMgr.cpp', michael@0: 'nsHttpDigestAuth.cpp', michael@0: 'nsHttpHeaderArray.cpp', michael@0: 'nsHttpNTLMAuth.cpp', michael@0: 'nsHttpPipeline.cpp', michael@0: 'nsHttpRequestHead.cpp', michael@0: 'nsHttpResponseHead.cpp', michael@0: 'nsHttpTransaction.cpp', michael@0: 'NullHttpTransaction.cpp', michael@0: 'SpdyPush3.cpp', michael@0: 'SpdyPush31.cpp', michael@0: 'SpdySession3.cpp', michael@0: 'SpdySession31.cpp', michael@0: 'SpdyStream3.cpp', michael@0: 'SpdyStream31.cpp', michael@0: 'SpdyZlibReporter.cpp', michael@0: ] michael@0: michael@0: # These files cannot be built in unified mode because of OS X headers. michael@0: SOURCES += [ michael@0: 'nsHttpHandler.cpp', michael@0: ] michael@0: michael@0: IPDL_SOURCES += [ michael@0: 'PHttpChannel.ipdl', michael@0: ] michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'UserAgentOverrides.jsm', michael@0: 'UserAgentUpdates.jsm', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'necko' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../../base/src', michael@0: '/content/base/src', michael@0: ]