diff options
author | Feng Qian <fqian@google.com> | 2009-05-06 19:13:31 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-05-06 19:13:31 -0700 |
commit | 9c6b0cc338948f7c81b6aedd4f18ba0d944bd02f (patch) | |
tree | 09d7ee033716bb3981e06c7266185a1ec61772da /V8Binding | |
parent | 35bf47a663a895921ac4bcec8318e429bdb77dae (diff) | |
download | external_webkit-9c6b0cc338948f7c81b6aedd4f18ba0d944bd02f.zip external_webkit-9c6b0cc338948f7c81b6aedd4f18ba0d944bd02f.tar.gz external_webkit-9c6b0cc338948f7c81b6aedd4f18ba0d944bd02f.tar.bz2 |
Fix SVG build with V8.
Because some SVG anomation source files depend on generic sort functions,
we cannot compile them. Add as ENABLE_SVG_ANIMATION build flag to disable
SVG Animation.
Diffstat (limited to 'V8Binding')
-rw-r--r-- | V8Binding/V8Binding.derived.mk | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/V8Binding/V8Binding.derived.mk b/V8Binding/V8Binding.derived.mk index 70dac51..ce32839 100644 --- a/V8Binding/V8Binding.derived.mk +++ b/V8Binding/V8Binding.derived.mk @@ -492,14 +492,11 @@ GEN := \ $(intermediates)/svg/V8SVGUnitTypes.h \ $(intermediates)/svg/V8SVGUseElement.h \ $(intermediates)/svg/V8SVGViewElement.h \ - $(intermediates)/svg/V8SVGZoomEvent.h - -# $(intermediates)/svg/V8SVGAnimateColorElement.h \ - $(intermediates)/svg/V8SVGAnimateElement.h \ - $(intermediates)/svg/V8SVGAnimateTransformElement.h \ + $(intermediates)/svg/V8SVGZoomEvent.h \ + \ $(intermediates)/svg/V8SVGAnimatedAngle.h \ - $(intermediates)/svg/V8SVGAnimatedBoolean.h \ $(intermediates)/svg/V8SVGAnimatedEnumeration.h \ + $(intermediates)/svg/V8SVGAnimatedBoolean.h \ $(intermediates)/svg/V8SVGAnimatedInteger.h \ $(intermediates)/svg/V8SVGAnimatedLength.h \ $(intermediates)/svg/V8SVGAnimatedLengthList.h \ @@ -509,10 +506,16 @@ GEN := \ $(intermediates)/svg/V8SVGAnimatedPreserveAspectRatio.h \ $(intermediates)/svg/V8SVGAnimatedRect.h \ $(intermediates)/svg/V8SVGAnimatedString.h \ - $(intermediates)/svg/V8SVGAnimatedTransformList.h \ - $(intermediates)/svg/V8SVGAnimationElement.h \ + $(intermediates)/svg/V8SVGAnimatedTransformList.h -# $(intermediates)/svg/V8SVGSetElement.h \ +ifeq ($(ENABLE_SVG_ANIMATION), true) +GEN += \ + $(intermediates)/svg/V8SVGAnimateColorElement.h \ + $(intermediates)/svg/V8SVGAnimateElement.h \ + $(intermediates)/svg/V8SVGAnimateTransformElement.h \ + $(intermediates)/svg/V8SVGAnimationElement.h \ + $(intermediates)/svg/V8SVGSetElement.h +endif $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(WEBCORE_PATH) perl -I$(v8binding_dir)/scripts -I$(WEBCORE_PATH)/bindings/scripts $(v8binding_dir)/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include css --include dom --include html --include svg --outputdir $(dir $@) $< $(GEN): $(intermediates)/svg/V8%.h : $(WEBCORE_PATH)/svg/%.idl $(js_binding_scripts) |