Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1028)

Unified Diff: build/features_override.gypi

Issue 655001: Allow building without SVG. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/features_override.gypi
diff --git a/build/features_override.gypi b/build/features_override.gypi
index 851fcacc0bcef7a9bd1468ed38702df16302740a..1fea07a037083287015f32732c6ed754dd7c4131 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'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698