Changeset 55152 in webkit
- Timestamp:
- Feb 23, 2010 7:46:25 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r55150 r55152 1 2010-02-23 Evan Martin <evan@chromium.org> 2 3 Reviewed by Jeremy Orlow. 4 5 [chromium] Allow building without SVG 6 https://bugs.webkit.org/show_bug.cgi?id=31522 7 8 * WebCore.gyp/WebCore.gyp, WebCore.gypi: test enable_svg flag. 9 * bindings/v8/custom/V8SVGDocumentCustom.cpp, 10 bindings/v8/custom/V8SVGPathSegCustom.cpp: test ENABLE(SVG). 11 1 12 2010-02-23 Leandro Pereira <leandro@profusion.mobi> 2 13 -
trunk/WebCore/WebCore.gyp/WebCore.gyp
r54907 r55152 102 102 # size of the binary and increasing the speed of gdb. gcc only. 103 103 'remove_webcore_debug_symbols%': 0, 104 104 105 # If set to 0, doesn't build SVG support, reducing the size of the 106 # binary and increasing the speed of gdb. 107 'enable_svg%': 1, 108 105 109 'webcore_include_dirs': [ 106 110 '../', … … 217 221 '../platform/ColorData.gperf', 218 222 219 # idl rule 223 # idl rules except for svg (added below) 220 224 '<@(webcore_bindings_idl_files)', 225 ], 226 'conditions': [ 227 ['enable_svg!=0', { 228 'sources': [ 229 '<@(webcore_bindings_idl_files)', 230 ], 231 }], 221 232 ], 222 233 'sources!': [ … … 584 595 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLElementFactory.cpp', 585 596 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.cpp', 586 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.cpp',587 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.cpp',588 597 '<(SHARED_INTERMEDIATE_DIR)/webkit/UserAgentStyleSheetsData.cpp', 589 598 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.cpp', 590 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.cpp',591 599 '<(SHARED_INTERMEDIATE_DIR)/webkit/XLinkNames.cpp', 592 600 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNSNames.cpp', … … 602 610 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', 603 611 ], 612 }], 613 ['enable_svg!=0', { 614 'sources': [ 615 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.cpp', 616 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.cpp', 617 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.cpp', 618 ], 604 619 }], 605 620 ['OS=="mac"', { … … 675 690 ['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'], 676 691 ['include', 'platform/graphics/opentype/OpenTypeSanitizer\\.cpp$'], 677 # Exclude everything in svg/ directly but not in subdirectories.678 # Everything in svg/*.cpp is included in svg/SVGAllInOne.cpp.679 ['exclude', 'svg/[^/]+\\.cpp$'],680 ['include', 'svg/SVGAllInOne\\.cpp$'],681 692 682 693 # JSC-only. … … 819 830 ], 820 831 }], 832 ['enable_svg!=0', { 833 'sources/': [ 834 ['exclude', 'svg/[^/]+\\.cpp$'], 835 ['include', 'svg/SVGAllInOne\\.cpp$'], 836 ], 837 }, { # svg disabled 838 'sources/': [ 839 ['exclude', 'svg/'], 840 ['exclude', 'css/svg/'], 841 ['exclude', 'rendering/style/SVG'], 842 ['exclude', 'rendering/RenderSVG'], 843 ['exclude', 'rendering/SVG'], 844 ], 845 }], 821 846 ['OS=="linux" or OS=="freebsd"', { 822 847 'dependencies': [ -
trunk/WebCore/WebCore.gypi
r55142 r55152 2 2 'variables': { 3 3 'webcore_bindings_idl_files': [ 4 5 #IDL files6 4 'css/CSSCharsetRule.idl', 7 5 'css/CSSFontFaceRule.idl', … … 225 223 'storage/Storage.idl', 226 224 'storage/StorageEvent.idl', 225 'websockets/WebSocket.idl', 226 'workers/AbstractWorker.idl', 227 'workers/DedicatedWorkerContext.idl', 228 'workers/SharedWorker.idl', 229 'workers/SharedWorkerContext.idl', 230 'workers/Worker.idl', 231 'workers/WorkerContext.idl', 232 'workers/WorkerLocation.idl', 233 'xml/DOMParser.idl', 234 'xml/XMLHttpRequest.idl', 235 'xml/XMLHttpRequestException.idl', 236 'xml/XMLHttpRequestProgressEvent.idl', 237 'xml/XMLHttpRequestUpload.idl', 238 'xml/XMLSerializer.idl', 239 'xml/XPathEvaluator.idl', 240 'xml/XPathException.idl', 241 'xml/XPathExpression.idl', 242 'xml/XPathNSResolver.idl', 243 'xml/XPathResult.idl', 244 'xml/XSLTProcessor.idl', 245 ], 246 'webcore_bindings_idl_svg_files': [ 227 247 'svg/ElementTimeControl.idl', 228 248 'svg/SVGAElement.idl', … … 371 391 'svg/SVGZoomAndPan.idl', 372 392 'svg/SVGZoomEvent.idl', 373 'websockets/WebSocket.idl',374 'workers/AbstractWorker.idl',375 'workers/DedicatedWorkerContext.idl',376 'workers/SharedWorker.idl',377 'workers/SharedWorkerContext.idl',378 'workers/Worker.idl',379 'workers/WorkerContext.idl',380 'workers/WorkerLocation.idl',381 'xml/DOMParser.idl',382 'xml/XMLHttpRequest.idl',383 'xml/XMLHttpRequestException.idl',384 'xml/XMLHttpRequestProgressEvent.idl',385 'xml/XMLHttpRequestUpload.idl',386 'xml/XMLSerializer.idl',387 'xml/XPathEvaluator.idl',388 'xml/XPathException.idl',389 'xml/XPathExpression.idl',390 'xml/XPathNSResolver.idl',391 'xml/XPathResult.idl',392 'xml/XSLTProcessor.idl',393 393 ], 394 394 'webcore_files': [ -
trunk/WebCore/bindings/v8/custom/V8SVGDocumentCustom.cpp
r54581 r55152 30 30 31 31 #include "config.h" 32 33 #if ENABLE(SVG) 32 34 #include "V8SVGDocument.h" 33 35 … … 52 54 53 55 } // namespace WebCore 56 57 #endif -
trunk/WebCore/bindings/v8/custom/V8SVGPathSegCustom.cpp
r54153 r55152 30 30 31 31 #include "config.h" 32 33 #if ENABLE(SVG) 32 34 #include "V8SVGPathSeg.h" 33 35 … … 105 107 106 108 } // namespace WebCore 109 110 #endif
Note: See TracChangeset
for help on using the changeset viewer.