From 2a66f069271edc971a27eefcf9722249882074d5 Mon Sep 17 00:00:00 2001 From: Cary Clark <> Date: Wed, 8 Apr 2009 08:09:31 -0700 Subject: AI 145053: add SVG to the browser [disabled by default] To enable SVG, edit your buildspec.mk to ENABLE_SVG:=true then make clean-libwebcore && make Some SVG functionality has been stubbed out in this checkin. //branches/master/android/build/buildspec.mk.default # edit - add ENABLE_SVG, commented out by default - fix up WEBCORE_INSTRUMENTATION define while I was in there //branches/master/android/external/webkit/Android.mk # edit - add ENABLE_SVG C define - add svg paths to C includes //branches/master/android/external/webkit/WebCore/Android.derived.mk # edit - update merge tool rules - add svg to css property names, keywords, generated bindings - add svg names, element factory, wrappers - remove obsolete ksvgcssproperties.h - add XLinkNames, required by SVG //branches/master/android/external/webkit/WebCore/Android.mk # edit - update merge tool rules - add svg bindings, css svg parsing, svg rendering, svg engine //branches/master/android/external/webkit/WebCore/config.h # edit - leave ENABLE_SVG alone if it is already defined //branches/master/android/external/webkit/WebCore/loader/EmptyClients.h # edit - add some Android extensions as empty virtuals (EmptyClients is only used by SVG) //branches/master/android/external/webkit/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp # edit //branches/master/android/external/webkit/WebCore/platform/graphics/android/PathAndroid.cpp # edit - add SVG graphics porting functions. Note the FIXMEs -- some are unimplemented. BUG=1474412 Automated import of CL 145053 --- buildspec.mk.default | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'buildspec.mk.default') diff --git a/buildspec.mk.default b/buildspec.mk.default index 861bb0d..6fd93da 100644 --- a/buildspec.mk.default +++ b/buildspec.mk.default @@ -88,10 +88,16 @@ ifndef NO_FALLBACK_FONT #NO_FALLBACK_FONT:=true endif -# To enabled instrumentation in webcore based apps like gmail and +# To enable instrumentation in webcore based apps like gmail and # the browser, define WEBCORE_INSTRUMENTATION:=true +ifndef WEBCORE_INSTRUMENTATION #WEBCORE_INSTRUMENTATION:=true -#endif +endif + +# To enable SVG in webcore define ENABLE_SVG:=true +ifndef ENABLE_SVG +#ENABLE_SVG:=true +endif # when the build system changes such that this file must be updated, this # variable will be changed. After you have modified this file with the new -- cgit v1.1