diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 09:04:38 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 09:04:38 +0000 |
commit | ce87b358f674afdcbef41c3712b42ffc437a2996 (patch) | |
tree | 6da0ac139b8dfc31735cc261a4fd2e99f125a7b7 /build | |
parent | 7e311ac7f1a0cd8c163c6795398cb70822453276 (diff) | |
download | chromium_src-ce87b358f674afdcbef41c3712b42ffc437a2996.zip chromium_src-ce87b358f674afdcbef41c3712b42ffc437a2996.tar.gz chromium_src-ce87b358f674afdcbef41c3712b42ffc437a2996.tar.bz2 |
Allow building without SVG.
Only useful for debug builds, obviously.
Review URL: http://codereview.chromium.org/655001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/features_override.gypi | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/build/features_override.gypi b/build/features_override.gypi index 851fcac..1fea07a 100644 --- a/build/features_override.gypi +++ b/build/features_override.gypi @@ -31,12 +31,12 @@ 'ENABLE_XSLT=1', 'ENABLE_XPATH=1', 'ENABLE_SHARED_WORKERS=1', - 'ENABLE_SVG=1', - 'ENABLE_SVG_ANIMATION=1', - 'ENABLE_SVG_AS_IMAGE=1', - 'ENABLE_SVG_USE=1', - 'ENABLE_SVG_FOREIGN_OBJECT=1', - 'ENABLE_SVG_FONTS=1', + 'ENABLE_SVG=<(enable_svg)', + 'ENABLE_SVG_ANIMATION=<(enable_svg)', + 'ENABLE_SVG_AS_IMAGE=<(enable_svg)', + 'ENABLE_SVG_USE=<(enable_svg)', + 'ENABLE_SVG_FOREIGN_OBJECT=<(enable_svg)', + 'ENABLE_SVG_FONTS=<(enable_svg)', 'ENABLE_VIDEO=1', 'ENABLE_WEB_SOCKETS=1', 'ENABLE_WORKERS=1', @@ -44,9 +44,11 @@ # We have to nest variables inside variables so that they can be overridden # through GYP_DEFINES. 'variables': { - 'use_accelerated_compositing%':0, + 'use_accelerated_compositing%': 0, + 'enable_svg%': 1, }, 'use_accelerated_compositing%': '<(use_accelerated_compositing)', + 'enable_svg%': '<(enable_svg)', 'conditions': [ ['use_accelerated_compositing==1', { 'feature_defines': ['WTF_USE_ACCELERATED_COMPOSITING=1'], |