blob: 455ece26e9be6085aaa84e5088f04d7274a14e25 [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/WebKit/Source/core/core.gni")
blink_core_sources("svg") {
sources = [
"ColorDistance.cpp",
"ColorDistance.h",
"GradientAttributes.h",
"LinearGradientAttributes.h",
"PatternAttributes.h",
"RadialGradientAttributes.h",
"SVGAElement.cpp",
"SVGAElement.h",
"SVGAngle.cpp",
"SVGAngleTearOff.cpp",
"SVGAnimateElement.cpp",
"SVGAnimateElement.h",
"SVGAnimateMotionElement.cpp",
"SVGAnimateMotionElement.h",
"SVGAnimateTransformElement.cpp",
"SVGAnimateTransformElement.h",
"SVGAnimatedAngle.cpp",
"SVGAnimatedColor.cpp",
"SVGAnimatedEnumerationBase.cpp",
"SVGAnimatedHref.cpp",
"SVGAnimatedHref.h",
"SVGAnimatedInteger.cpp",
"SVGAnimatedIntegerOptionalInteger.cpp",
"SVGAnimatedLength.cpp",
"SVGAnimatedNumber.cpp",
"SVGAnimatedNumberOptionalNumber.cpp",
"SVGAnimatedPath.cpp",
"SVGAnimatedString.cpp",
"SVGAnimatedString.h",
"SVGAnimatedTypeAnimator.cpp",
"SVGAnimatedTypeAnimator.h",
"SVGAnimationElement.cpp",
"SVGAnimationElement.h",
"SVGBoolean.cpp",
"SVGBoolean.h",
"SVGCircleElement.cpp",
"SVGCircleElement.h",
"SVGClipPathElement.cpp",
"SVGClipPathElement.h",
"SVGComponentTransferFunctionElement.cpp",
"SVGComponentTransferFunctionElement.h",
"SVGCursorElement.cpp",
"SVGCursorElement.h",
"SVGDefsElement.cpp",
"SVGDefsElement.h",
"SVGDescElement.cpp",
"SVGDescElement.h",
"SVGDiscardElement.cpp",
"SVGDiscardElement.h",
"SVGDocumentExtensions.cpp",
"SVGElement.cpp",
"SVGElementRareData.cpp",
"SVGElementRareData.h",
"SVGEllipseElement.cpp",
"SVGEllipseElement.h",
"SVGEnumeration.cpp",
"SVGFEBlendElement.cpp",
"SVGFEBlendElement.h",
"SVGFEColorMatrixElement.cpp",
"SVGFEColorMatrixElement.h",
"SVGFEComponentTransferElement.cpp",
"SVGFEComponentTransferElement.h",
"SVGFECompositeElement.cpp",
"SVGFECompositeElement.h",
"SVGFEConvolveMatrixElement.cpp",
"SVGFEConvolveMatrixElement.h",
"SVGFEDiffuseLightingElement.cpp",
"SVGFEDiffuseLightingElement.h",
"SVGFEDisplacementMapElement.cpp",
"SVGFEDisplacementMapElement.h",
"SVGFEDistantLightElement.cpp",
"SVGFEDistantLightElement.h",
"SVGFEDropShadowElement.cpp",
"SVGFEDropShadowElement.h",
"SVGFEFloodElement.cpp",
"SVGFEFloodElement.h",
"SVGFEFuncAElement.cpp",
"SVGFEFuncAElement.h",
"SVGFEFuncBElement.cpp",
"SVGFEFuncBElement.h",
"SVGFEFuncGElement.cpp",
"SVGFEFuncGElement.h",
"SVGFEFuncRElement.cpp",
"SVGFEFuncRElement.h",
"SVGFEGaussianBlurElement.cpp",
"SVGFEGaussianBlurElement.h",
"SVGFEImageElement.cpp",
"SVGFEImageElement.h",
"SVGFELightElement.cpp",
"SVGFELightElement.h",
"SVGFEMergeElement.cpp",
"SVGFEMergeElement.h",
"SVGFEMergeNodeElement.cpp",
"SVGFEMergeNodeElement.h",
"SVGFEMorphologyElement.cpp",
"SVGFEMorphologyElement.h",
"SVGFEOffsetElement.cpp",
"SVGFEOffsetElement.h",
"SVGFEPointLightElement.cpp",
"SVGFEPointLightElement.h",
"SVGFESpecularLightingElement.cpp",
"SVGFESpecularLightingElement.h",
"SVGFESpotLightElement.cpp",
"SVGFESpotLightElement.h",
"SVGFETileElement.cpp",
"SVGFETileElement.h",
"SVGFETurbulenceElement.cpp",
"SVGFETurbulenceElement.h",
"SVGFilterElement.cpp",
"SVGFilterElement.h",
"SVGFilterPrimitiveStandardAttributes.cpp",
"SVGFilterPrimitiveStandardAttributes.h",
"SVGFitToViewBox.cpp",
"SVGFitToViewBox.h",
"SVGForeignObjectElement.cpp",
"SVGForeignObjectElement.h",
"SVGGElement.cpp",
"SVGGElement.h",
"SVGGeometryElement.cpp",
"SVGGeometryElement.h",
"SVGGradientElement.cpp",
"SVGGradientElement.h",
"SVGGraphicsElement.cpp",
"SVGGraphicsElement.h",
"SVGImageElement.cpp",
"SVGImageElement.h",
"SVGImageLoader.cpp",
"SVGImageLoader.h",
"SVGInteger.cpp",
"SVGInteger.h",
"SVGIntegerOptionalInteger.cpp",
"SVGIntegerOptionalInteger.h",
"SVGLength.cpp",
"SVGLengthContext.cpp",
"SVGLengthList.cpp",
"SVGLengthTearOff.cpp",
"SVGLineElement.cpp",
"SVGLineElement.h",
"SVGLinearGradientElement.cpp",
"SVGLinearGradientElement.h",
"SVGMPathElement.cpp",
"SVGMPathElement.h",
"SVGMarkerElement.cpp",
"SVGMarkerElement.h",
"SVGMaskElement.cpp",
"SVGMaskElement.h",
"SVGMatrixTearOff.cpp",
"SVGMatrixTearOff.h",
"SVGMetadataElement.cpp",
"SVGMetadataElement.h",
"SVGNumber.cpp",
"SVGNumber.h",
"SVGNumberList.cpp",
"SVGNumberList.h",
"SVGNumberOptionalNumber.cpp",
"SVGNumberOptionalNumber.h",
"SVGNumberTearOff.cpp",
"SVGNumberTearOff.h",
"SVGParserUtilities.cpp",
"SVGParserUtilities.h",
"SVGParsingError.cpp",
"SVGParsingError.h",
"SVGPath.cpp",
"SVGPath.h",
"SVGPathBlender.cpp",
"SVGPathBlender.h",
"SVGPathBuilder.cpp",
"SVGPathBuilder.h",
"SVGPathByteStream.h",
"SVGPathByteStreamBuilder.cpp",
"SVGPathByteStreamBuilder.h",
"SVGPathByteStreamSource.cpp",
"SVGPathByteStreamSource.h",
"SVGPathConsumer.h",
"SVGPathData.h",
"SVGPathElement.cpp",
"SVGPathElement.h",
"SVGPathParser.cpp",
"SVGPathParser.h",
"SVGPathQuery.cpp",
"SVGPathQuery.h",
"SVGPathStringBuilder.cpp",
"SVGPathStringBuilder.h",
"SVGPathStringSource.cpp",
"SVGPathStringSource.h",
"SVGPathUtilities.cpp",
"SVGPathUtilities.h",
"SVGPatternElement.cpp",
"SVGPatternElement.h",
"SVGPoint.cpp",
"SVGPoint.h",
"SVGPointList.cpp",
"SVGPointList.h",
"SVGPointTearOff.cpp",
"SVGPointTearOff.h",
"SVGPolyElement.cpp",
"SVGPolyElement.h",
"SVGPolygonElement.cpp",
"SVGPolygonElement.h",
"SVGPolylineElement.cpp",
"SVGPolylineElement.h",
"SVGPreserveAspectRatio.cpp",
"SVGPreserveAspectRatioTearOff.cpp",
"SVGRadialGradientElement.cpp",
"SVGRadialGradientElement.h",
"SVGRect.cpp",
"SVGRect.h",
"SVGRectElement.cpp",
"SVGRectElement.h",
"SVGRectTearOff.cpp",
"SVGRectTearOff.h",
"SVGResourceClient.cpp",
"SVGResourceClient.h",
"SVGSVGElement.cpp",
"SVGSVGElement.h",
"SVGScriptElement.cpp",
"SVGScriptElement.h",
"SVGSetElement.cpp",
"SVGSetElement.h",
"SVGStaticStringList.cpp",
"SVGStaticStringList.h",
"SVGStopElement.cpp",
"SVGStopElement.h",
"SVGString.cpp",
"SVGString.h",
"SVGStringList.cpp",
"SVGStringList.h",
"SVGStringListTearOff.cpp",
"SVGStringListTearOff.h",
"SVGStyleElement.cpp",
"SVGStyleElement.h",
"SVGSwitchElement.cpp",
"SVGSwitchElement.h",
"SVGSymbolElement.cpp",
"SVGSymbolElement.h",
"SVGTSpanElement.cpp",
"SVGTSpanElement.h",
"SVGTests.cpp",
"SVGTests.h",
"SVGTextContentElement.cpp",
"SVGTextContentElement.h",
"SVGTextElement.cpp",
"SVGTextElement.h",
"SVGTextPathElement.cpp",
"SVGTextPathElement.h",
"SVGTextPositioningElement.cpp",
"SVGTextPositioningElement.h",
"SVGTitleElement.cpp",
"SVGTitleElement.h",
"SVGTransform.cpp",
"SVGTransformDistance.cpp",
"SVGTransformDistance.h",
"SVGTransformList.cpp",
"SVGTransformListTearOff.cpp",
"SVGTransformTearOff.cpp",
"SVGURIReference.cpp",
"SVGURIReference.h",
"SVGUnitTypes.cpp",
"SVGUnitTypes.h",
"SVGUnknownElement.cpp",
"SVGUnknownElement.h",
"SVGUseElement.cpp",
"SVGUseElement.h",
"SVGViewElement.cpp",
"SVGViewElement.h",
"SVGViewSpec.cpp",
"SVGViewSpec.h",
"SVGZoomAndPan.cpp",
"SVGZoomAndPan.h",
"animation/SMILTime.cpp",
"animation/SMILTimeContainer.cpp",
"animation/SMILTimeContainer.h",
"animation/SVGSMILElement.cpp",
"graphics/SVGImage.cpp",
"graphics/SVGImage.h",
"graphics/SVGImageChromeClient.cpp",
"graphics/SVGImageChromeClient.h",
"graphics/SVGImageForContainer.cpp",
"graphics/SVGImageForContainer.h",
"graphics/filters/SVGFEImage.cpp",
"graphics/filters/SVGFEImage.h",
"graphics/filters/SVGFilterBuilder.cpp",
"graphics/filters/SVGFilterBuilder.h",
"properties/SVGAnimatedProperty.cpp",
"properties/SVGPropertyTearOff.cpp",
]
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
}