mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-13 23:17:57 +00:00
99 lines
2.2 KiB
Python
99 lines
2.2 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIHttpActivityObserver.idl',
|
|
'nsIHttpAuthManager.idl',
|
|
'nsIHttpAuthenticableChannel.idl',
|
|
'nsIHttpAuthenticator.idl',
|
|
'nsIHttpChannel.idl',
|
|
'nsIHttpChannelAuthProvider.idl',
|
|
'nsIHttpChannelChild.idl',
|
|
'nsIHttpChannelInternal.idl',
|
|
'nsIHttpDataUsage.idl',
|
|
'nsIHttpEventSink.idl',
|
|
'nsIHttpHeaderVisitor.idl',
|
|
'nsIHttpProtocolHandler.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'necko_http'
|
|
|
|
MODULE = 'necko'
|
|
|
|
EXPORTS += [
|
|
'nsHttp.h',
|
|
'nsHttpAtomList.h',
|
|
'nsHttpHeaderArray.h',
|
|
'nsHttpResponseHead.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.net += [
|
|
'HttpBaseChannel.h',
|
|
'HttpChannelChild.h',
|
|
'HttpChannelParent.h',
|
|
'HttpInfo.h',
|
|
'PHttpChannelParams.h',
|
|
'PSpdyPush.h',
|
|
]
|
|
|
|
CPP_SOURCES += [
|
|
'ASpdySession.cpp',
|
|
'ConnectionDiagnostics.cpp',
|
|
'HttpBaseChannel.cpp',
|
|
'HttpChannelChild.cpp',
|
|
'HttpChannelParent.cpp',
|
|
'HttpChannelParentListener.cpp',
|
|
'HttpInfo.cpp',
|
|
'NullHttpTransaction.cpp',
|
|
'SpdyPush3.cpp',
|
|
'SpdyPush31.cpp',
|
|
'SpdySession3.cpp',
|
|
'SpdySession31.cpp',
|
|
'SpdyStream3.cpp',
|
|
'SpdyStream31.cpp',
|
|
'nsHttp.cpp',
|
|
'nsHttpActivityDistributor.cpp',
|
|
'nsHttpAuthCache.cpp',
|
|
'nsHttpAuthManager.cpp',
|
|
'nsHttpBasicAuth.cpp',
|
|
'nsHttpChannel.cpp',
|
|
'nsHttpChannelAuthProvider.cpp',
|
|
'nsHttpChunkedDecoder.cpp',
|
|
'nsHttpConnection.cpp',
|
|
'nsHttpConnectionInfo.cpp',
|
|
'nsHttpConnectionMgr.cpp',
|
|
'nsHttpDigestAuth.cpp',
|
|
'nsHttpHandler.cpp',
|
|
'nsHttpHeaderArray.cpp',
|
|
'nsHttpNTLMAuth.cpp',
|
|
'nsHttpPipeline.cpp',
|
|
'nsHttpRequestHead.cpp',
|
|
'nsHttpResponseHead.cpp',
|
|
'nsHttpTransaction.cpp',
|
|
]
|
|
|
|
IPDL_SOURCES += [
|
|
'PHttpChannel.ipdl',
|
|
]
|
|
EXTRA_JS_MODULES += [
|
|
'UserAgentOverrides.jsm',
|
|
'UserAgentUpdates.jsm',
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'HttpDataUsage.js',
|
|
'HttpDataUsage.manifest',
|
|
]
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
LIBRARY_NAME = 'nkhttp_s'
|
|
|