Bug 939303 - Build content/base in unified mode; r=jst,bzbarsky

--HG--
extra : rebase_source : 93bcb48cd6f8cdeab5aa2cd79f95aaba4790d521
This commit is contained in:
Ehsan Akhgari 2013-11-19 14:49:52 -05:00
Родитель 8794d18b5c
Коммит d633c66f8c
3 изменённых файлов: 15 добавлений и 7 удалений

Просмотреть файл

@ -220,7 +220,7 @@
namespace mozilla {
typedef mozilla::dom::Element Element;
using mozilla::dom::Element;
/**
* Returns true if aElement is one of the elements whose text content should not

Просмотреть файл

@ -67,7 +67,7 @@ EXPORTS.mozilla.dom += [
'TreeWalker.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'Attr.cpp',
'ChildIterator.cpp',
'Comment.cpp',
@ -94,12 +94,10 @@ SOURCES += [
'nsContentList.cpp',
'nsContentPolicy.cpp',
'nsContentSink.cpp',
'nsContentUtils.cpp',
'nsCopySupport.cpp',
'nsCrossSiteListenerProxy.cpp',
'nsCSPService.cpp',
'nsDataDocumentContentPolicy.cpp',
'nsDocument.cpp',
'nsDocumentEncoder.cpp',
'nsDOMAttributeMap.cpp',
'nsDOMBlobBuilder.cpp',
@ -130,9 +128,7 @@ SOURCES += [
'nsNameSpaceManager.cpp',
'nsNoDataProtocolContentPolicy.cpp',
'nsNodeInfo.cpp',
'nsNodeInfoManager.cpp',
'nsNodeUtils.cpp',
'nsObjectLoadingContent.cpp',
'nsPlainTextSerializer.cpp',
'nsPropertyTable.cpp',
'nsRange.cpp',
@ -159,6 +155,18 @@ SOURCES += [
'WebSocket.cpp',
]
# These files cannot be built in unified mode because they use FORCE_PR_LOG
SOURCES += [
'nsDocument.cpp',
'nsNodeInfoManager.cpp',
]
# These files cannot be built in unified mode because of OS X headers.
SOURCES += [
'nsContentUtils.cpp',
'nsObjectLoadingContent.cpp',
]
EXTRA_COMPONENTS += [
'contentAreaDropListener.js',
'contentAreaDropListener.manifest',

Просмотреть файл

@ -22,7 +22,7 @@
#include "nsContentUtils.h"
#include "nsStyleUtil.h"
namespace css = mozilla::css;
using namespace mozilla;
using namespace mozilla::dom;
//----------------------------------------------------------------------