diff options
Diffstat (limited to 'netwerk/protocol/http/moz.build')
-rw-r--r-- | netwerk/protocol/http/moz.build | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/netwerk/protocol/http/moz.build b/netwerk/protocol/http/moz.build index cf006a8c63..91fc897224 100644 --- a/netwerk/protocol/http/moz.build +++ b/netwerk/protocol/http/moz.build @@ -42,11 +42,18 @@ EXPORTS.mozilla.net += [ 'TimingStruct.h', ] +# ASpdySession.cpp and nsHttpAuthCache cannot be built in unified mode because +# they use plarena.h. SOURCES += [ - 'AltDataOutputStreamChild.cpp', - 'AltDataOutputStreamParent.cpp', 'AlternateServices.cpp', 'ASpdySession.cpp', + 'nsHttpAuthCache.cpp', + 'nsHttpChannelAuthProvider.cpp', # redefines GetAuthType +] + +UNIFIED_SOURCES += [ + 'AltDataOutputStreamChild.cpp', + 'AltDataOutputStreamParent.cpp', 'CacheControlParser.cpp', 'ConnectionDiagnostics.cpp', 'Http2Compression.cpp', @@ -62,17 +69,14 @@ SOURCES += [ 'nsCORSListenerProxy.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', @@ -84,6 +88,11 @@ SOURCES += [ 'TunnelUtils.cpp', ] +# These files cannot be built in unified mode because of OS X headers. +SOURCES += [ + 'nsHttpHandler.cpp', +] + IPDL_SOURCES += [ 'PAltDataOutputStream.ipdl', 'PHttpChannel.ipdl', |