mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Initial checkin of SVG prototype code for Dean Jackson (ifdef'ed)
This commit is contained in:
parent
52e40e9c6d
commit
59adfb766c
@ -32,6 +32,10 @@ ifdef MOZ_MATHML
|
||||
DIRS += mathml
|
||||
endif
|
||||
|
||||
ifdef MOZ_SVG
|
||||
DIRS += svg
|
||||
endif
|
||||
|
||||
DIRS += events build
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
|
@ -74,6 +74,13 @@ SHARED_LIBRARY_LIBS += \
|
||||
$(NSNULL)
|
||||
endif
|
||||
|
||||
ifdef MOZ_SVG
|
||||
SHARED_LIBRARY_LIBS += \
|
||||
$(DIST)/lib/libraptorsvgcontent_s.a \
|
||||
$(DIST)/lib/libraptorsvgbase_s.a \
|
||||
$(NSNULL)
|
||||
endif
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
$(MKSHLIB_FORCE_ALL) \
|
||||
$(SHARED_LIBRARY_LIBS) \
|
||||
|
@ -54,6 +54,9 @@ LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\dom \
|
||||
-I..\xul\content\src \
|
||||
!ifdef MOZ_MATHML
|
||||
-I..\mathml\content\src \
|
||||
!endif
|
||||
!ifdef MOZ_SVG
|
||||
-I..\svg\content\src \
|
||||
!endif
|
||||
-I$(PUBLIC)\rdf
|
||||
|
||||
@ -77,6 +80,10 @@ LLIBS= \
|
||||
!ifdef MOZ_MATHML
|
||||
$(DIST)\lib\raptormathmlbase_s.lib \
|
||||
$(DIST)\lib\raptormathmlcontent_s.lib \
|
||||
!endif
|
||||
!ifdef MOZ_SVG
|
||||
$(DIST)\lib\raptorsvgbase_s.lib \
|
||||
$(DIST)\lib\raptorsvgcontent_s.lib \
|
||||
!endif
|
||||
$(DIST)\lib\raptorevents_s.lib \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
|
@ -54,6 +54,11 @@
|
||||
|
||||
#include "nsIDocumentEncoder.h"
|
||||
|
||||
// SVG
|
||||
#ifdef MOZ_SVG
|
||||
#include "nsSVGAtoms.h"
|
||||
#endif
|
||||
|
||||
// XXX
|
||||
#include "nsIServiceManager.h"
|
||||
|
||||
@ -202,6 +207,11 @@ nsLayoutModule::Initialize()
|
||||
nsMathMLAtoms::AddRefAtoms();
|
||||
#endif
|
||||
|
||||
// SVG
|
||||
#ifdef MOZ_SVG
|
||||
nsSVGAtoms::AddRefAtoms();
|
||||
#endif
|
||||
|
||||
// XXX Initialize the script name set thingy-ma-jigger
|
||||
if (!gRegistry) {
|
||||
rv = nsServiceManager::GetService(kCScriptNameSetRegistryCID,
|
||||
@ -244,6 +254,10 @@ nsLayoutModule::Shutdown()
|
||||
nsMathMLOperators::ReleaseTable();
|
||||
nsMathMLAtoms::ReleaseAtoms();
|
||||
#endif
|
||||
// SVG
|
||||
#ifdef MOZ_SVG
|
||||
nsSVGAtoms::ReleaseAtoms();
|
||||
#endif
|
||||
|
||||
nsTextTransformer::Shutdown();
|
||||
|
||||
|
@ -101,3 +101,9 @@ INCLUDES += \
|
||||
-I$(srcdir)/../../../mathml/content/src \
|
||||
-I$(srcdir)/../../../mathml/base/src
|
||||
endif
|
||||
|
||||
ifdef MOZ_SVG
|
||||
INCLUDES += \
|
||||
-I$(srcdir)/../../../svg/content/src \
|
||||
-I$(srcdir)/../../../svg/base/src
|
||||
endif
|
||||
|
@ -101,6 +101,10 @@ LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\netlib \
|
||||
!ifdef MOZ_MATHML
|
||||
-I..\..\..\mathml\content\src \
|
||||
-I..\..\..\mathml\base\src \
|
||||
!endif
|
||||
!ifdef MOZ_SVG
|
||||
-I..\..\..\svg\content\src \
|
||||
-I..\..\..\svg\base\src \
|
||||
!endif
|
||||
-I..\..\forms\src \
|
||||
-I..\..\base\src -I..\..\table\src -I..\..\content\src -I$(PUBLIC)\js -I$(PUBLIC)\dom
|
||||
|
@ -32,6 +32,9 @@ DIRS= \
|
||||
!endif
|
||||
!ifdef MOZ_MATHML
|
||||
mathml \
|
||||
!endif
|
||||
!ifdef MOZ_SVG
|
||||
svg \
|
||||
!endif
|
||||
events \
|
||||
build \
|
||||
|
Loading…
Reference in New Issue
Block a user