2007-03-22 10:30:00 -07:00
|
|
|
#
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = content
|
|
|
|
LIBRARY_NAME = gkconbase_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
2008-02-18 00:50:04 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
EXPORTS = \
|
|
|
|
nsAtomListUtils.h \
|
|
|
|
nsAttrName.h \
|
|
|
|
nsContentList.h \
|
|
|
|
nsGkAtomList.h \
|
|
|
|
nsGkAtoms.h \
|
|
|
|
nsNodeInfoManager.h \
|
|
|
|
nsPropertyTable.h \
|
|
|
|
nsScriptLoader.h \
|
|
|
|
nsStubDocumentObserver.h \
|
|
|
|
nsStubImageDecoderObserver.h \
|
|
|
|
nsStubMutationObserver.h \
|
|
|
|
nsTextFragment.h \
|
2008-04-11 10:29:06 -07:00
|
|
|
mozAutoDocUpdate.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2009-08-20 11:56:10 -07:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom = \
|
|
|
|
Link.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-05-10 16:18:55 -07:00
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/js/src/xpconnect/src
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
CPPSRCS = \
|
|
|
|
mozSanitizingSerializer.cpp \
|
|
|
|
nsAtomListUtils.cpp \
|
|
|
|
nsAttrAndChildArray.cpp \
|
|
|
|
nsAttrValue.cpp \
|
2007-05-10 13:21:12 -07:00
|
|
|
nsCCUncollectableMarker.cpp \
|
2010-04-10 13:08:21 -07:00
|
|
|
nsChannelPolicy.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsCommentNode.cpp \
|
|
|
|
nsContentAreaDragDrop.cpp \
|
|
|
|
nsContentIterator.cpp \
|
|
|
|
nsContentList.cpp \
|
|
|
|
nsContentPolicy.cpp \
|
|
|
|
nsContentSink.cpp \
|
|
|
|
nsContentUtils.cpp \
|
|
|
|
nsCopySupport.cpp \
|
2008-09-30 17:49:30 -07:00
|
|
|
nsCrossSiteListenerProxy.cpp \
|
2010-01-22 13:38:21 -08:00
|
|
|
nsCSPService.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsDataDocumentContentPolicy.cpp \
|
|
|
|
nsDOMAttribute.cpp \
|
|
|
|
nsDOMAttributeMap.cpp \
|
2011-05-20 10:18:45 -07:00
|
|
|
nsDOMBlobBuilder.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsDOMDocumentType.cpp \
|
2010-06-17 04:27:52 -07:00
|
|
|
nsDOMEventTargetWrapperCache.cpp \
|
2007-07-24 21:29:47 -07:00
|
|
|
nsDOMFile.cpp \
|
2009-11-09 12:05:16 -08:00
|
|
|
nsDOMFileReader.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsDOMLists.cpp \
|
|
|
|
nsDOMParser.cpp \
|
|
|
|
nsDOMSerializer.cpp \
|
2009-08-12 01:55:14 -07:00
|
|
|
nsDOMTokenList.cpp \
|
2010-04-26 00:42:00 -07:00
|
|
|
nsDOMSettableTokenList.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsDocument.cpp \
|
|
|
|
nsDocumentEncoder.cpp \
|
|
|
|
nsDocumentFragment.cpp \
|
|
|
|
nsFrameLoader.cpp \
|
2010-02-24 21:58:18 -08:00
|
|
|
nsFormData.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsGenConImageContent.cpp \
|
|
|
|
nsGenericDOMDataNode.cpp \
|
|
|
|
nsGenericElement.cpp \
|
|
|
|
nsGkAtoms.cpp \
|
|
|
|
nsHTMLContentSerializer.cpp \
|
|
|
|
nsImageLoadingContent.cpp \
|
2007-05-22 12:39:14 -07:00
|
|
|
nsLineBreaker.cpp \
|
2008-01-09 01:38:28 -08:00
|
|
|
nsMappedAttributeElement.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsMappedAttributes.cpp \
|
|
|
|
nsNameSpaceManager.cpp \
|
|
|
|
nsNoDataProtocolContentPolicy.cpp \
|
|
|
|
nsNodeInfo.cpp \
|
|
|
|
nsNodeInfoManager.cpp \
|
2008-07-21 17:35:38 -07:00
|
|
|
nsNodeIterator.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsNodeUtils.cpp \
|
|
|
|
nsObjectLoadingContent.cpp \
|
|
|
|
nsParserUtils.cpp \
|
|
|
|
nsPlainTextSerializer.cpp \
|
|
|
|
nsPropertyTable.cpp \
|
|
|
|
nsRange.cpp \
|
2008-06-24 18:55:01 -07:00
|
|
|
nsReferencedElement.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsScriptElement.cpp \
|
|
|
|
nsScriptLoader.cpp \
|
|
|
|
nsStubDocumentObserver.cpp \
|
|
|
|
nsStubImageDecoderObserver.cpp \
|
|
|
|
nsStubMutationObserver.cpp \
|
2007-08-06 08:27:19 -07:00
|
|
|
nsStyledElement.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsStyleLinkElement.cpp \
|
|
|
|
nsSyncLoadService.cpp \
|
|
|
|
nsTextFragment.cpp \
|
|
|
|
nsTextNode.cpp \
|
2008-07-21 17:35:38 -07:00
|
|
|
nsTraversal.cpp \
|
2011-07-29 04:48:04 -07:00
|
|
|
nsTreeSanitizer.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsTreeWalker.cpp \
|
2010-06-17 11:34:24 -07:00
|
|
|
nsWebSocket.cpp \
|
2009-04-25 02:00:14 -07:00
|
|
|
nsXHTMLContentSerializer.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsXMLContentSerializer.cpp \
|
|
|
|
nsXMLHttpRequest.cpp \
|
|
|
|
nsXMLNameSpaceMap.cpp \
|
2009-10-13 15:13:41 -07:00
|
|
|
Link.cpp \
|
2010-03-02 23:51:09 -08:00
|
|
|
nsFileDataProtocolHandler.cpp \
|
2010-05-18 05:28:37 -07:00
|
|
|
nsFrameMessageManager.cpp \
|
|
|
|
nsInProcessTabChildGlobal.cpp \
|
2010-10-19 09:37:03 -07:00
|
|
|
ThirdPartyUtil.cpp \
|
2011-05-22 14:30:07 -07:00
|
|
|
nsEventSource.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2010-08-09 15:32:18 -07:00
|
|
|
# Are we targeting x86-32 or x86-64? If so, we want to include SSE2 code for
|
|
|
|
# nsTextFragment.cpp
|
|
|
|
ifneq (,$(INTEL_ARCHITECTURE))
|
|
|
|
|
|
|
|
CPPSRCS += nsTextFragmentSSE2.cpp
|
|
|
|
|
|
|
|
# gcc requires -msse2 for this file since it uses SSE2 intrinsics. (See bug
|
|
|
|
# 585538 comment 12.)
|
|
|
|
ifdef GNU_CC
|
|
|
|
nsTextFragmentSSE2.$(OBJ_SUFFIX): CXXFLAGS+=-msse2
|
|
|
|
endif
|
|
|
|
|
2011-07-27 20:40:39 -07:00
|
|
|
ifdef SOLARIS_SUNPRO_CXX
|
|
|
|
nsTextFragmentSSE2.$(OBJ_SUFFIX): CXXFLAGS+=-xarch=sse2 -xO4
|
|
|
|
endif
|
2010-08-09 15:32:18 -07:00
|
|
|
endif
|
|
|
|
|
2008-01-25 09:14:48 -08:00
|
|
|
GQI_SRCS = contentbase.gqi
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
|
|
# static lib.
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2010-01-21 10:41:24 -08:00
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
$(srcdir)/nsBadCertHandler.js \
|
2010-06-22 09:59:15 -07:00
|
|
|
nsBadCertHandler.manifest \
|
2010-01-21 10:41:24 -08:00
|
|
|
contentSecurityPolicy.js \
|
2010-06-22 09:59:15 -07:00
|
|
|
contentSecurityPolicy.manifest \
|
2010-04-18 11:27:18 -07:00
|
|
|
contentAreaDropListener.js \
|
2010-06-22 09:59:15 -07:00
|
|
|
contentAreaDropListener.manifest \
|
2010-09-03 19:04:05 -07:00
|
|
|
messageWakeupService.js \
|
|
|
|
messageWakeupService.manifest \
|
2010-01-21 10:41:24 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES = \
|
|
|
|
CSPUtils.jsm \
|
|
|
|
$(NULL)
|
2008-03-18 17:14:38 -07:00
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
INCLUDES += \
|
|
|
|
-I$(srcdir)/../../events/src \
|
|
|
|
-I$(srcdir)/../../xml/content/src \
|
2009-09-24 14:01:48 -07:00
|
|
|
-I$(srcdir)/../../../layout/xul/base/src \
|
2007-03-22 10:30:00 -07:00
|
|
|
-I$(srcdir)/../../xul/content/src \
|
|
|
|
-I$(srcdir)/../../html/content/src \
|
|
|
|
-I$(srcdir)/../../base/src \
|
|
|
|
-I$(srcdir)/../../xbl/src \
|
|
|
|
-I$(srcdir)/../../../layout/generic \
|
|
|
|
-I$(srcdir)/../../../layout/style \
|
2009-03-11 07:10:19 -07:00
|
|
|
-I$(srcdir)/../../../dom/base \
|
2007-03-22 10:30:00 -07:00
|
|
|
-I$(srcdir)/../../xml/document/src \
|
|
|
|
-I$(topsrcdir)/xpcom/io \
|
2009-06-30 13:39:22 -07:00
|
|
|
-I$(topsrcdir)/dom/ipc \
|
2010-04-11 06:55:24 -07:00
|
|
|
-I$(topsrcdir)/js/src/xpconnect/src \
|
|
|
|
-I$(topsrcdir)/caps/include \
|
2011-04-22 06:03:20 -07:00
|
|
|
-I$(topsrcdir)/netwerk/base/src \
|
2011-06-23 03:39:48 -07:00
|
|
|
-I$(topsrcdir)/xpcom/ds \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|