OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//third_party/WebKit/Source/core/core.gni") |
| 6 |
| 7 target(core_link_small_target_type, "svg") { |
| 8 visibility = [ "//third_party/WebKit/Source/core/*" ] |
| 9 |
| 10 sources = [ |
| 11 "ColorDistance.cpp", |
| 12 "ColorDistance.h", |
| 13 "GradientAttributes.h", |
| 14 "LinearGradientAttributes.h", |
| 15 "PatternAttributes.h", |
| 16 "RadialGradientAttributes.h", |
| 17 "SVGAElement.cpp", |
| 18 "SVGAElement.h", |
| 19 "SVGAngle.cpp", |
| 20 "SVGAngleTearOff.cpp", |
| 21 "SVGAnimateElement.cpp", |
| 22 "SVGAnimateElement.h", |
| 23 "SVGAnimateMotionElement.cpp", |
| 24 "SVGAnimateMotionElement.h", |
| 25 "SVGAnimateTransformElement.cpp", |
| 26 "SVGAnimateTransformElement.h", |
| 27 "SVGAnimatedAngle.cpp", |
| 28 "SVGAnimatedColor.cpp", |
| 29 "SVGAnimatedEnumerationBase.cpp", |
| 30 "SVGAnimatedHref.cpp", |
| 31 "SVGAnimatedHref.h", |
| 32 "SVGAnimatedInteger.cpp", |
| 33 "SVGAnimatedIntegerOptionalInteger.cpp", |
| 34 "SVGAnimatedLength.cpp", |
| 35 "SVGAnimatedNumber.cpp", |
| 36 "SVGAnimatedNumberOptionalNumber.cpp", |
| 37 "SVGAnimatedPath.cpp", |
| 38 "SVGAnimatedString.cpp", |
| 39 "SVGAnimatedString.h", |
| 40 "SVGAnimatedTypeAnimator.cpp", |
| 41 "SVGAnimatedTypeAnimator.h", |
| 42 "SVGAnimationElement.cpp", |
| 43 "SVGAnimationElement.h", |
| 44 "SVGBoolean.cpp", |
| 45 "SVGBoolean.h", |
| 46 "SVGCircleElement.cpp", |
| 47 "SVGCircleElement.h", |
| 48 "SVGClipPathElement.cpp", |
| 49 "SVGClipPathElement.h", |
| 50 "SVGComponentTransferFunctionElement.cpp", |
| 51 "SVGComponentTransferFunctionElement.h", |
| 52 "SVGCursorElement.cpp", |
| 53 "SVGCursorElement.h", |
| 54 "SVGDefsElement.cpp", |
| 55 "SVGDefsElement.h", |
| 56 "SVGDescElement.cpp", |
| 57 "SVGDescElement.h", |
| 58 "SVGDiscardElement.cpp", |
| 59 "SVGDiscardElement.h", |
| 60 "SVGDocumentExtensions.cpp", |
| 61 "SVGElement.cpp", |
| 62 "SVGElementRareData.cpp", |
| 63 "SVGElementRareData.h", |
| 64 "SVGEllipseElement.cpp", |
| 65 "SVGEllipseElement.h", |
| 66 "SVGEnumeration.cpp", |
| 67 "SVGFEBlendElement.cpp", |
| 68 "SVGFEBlendElement.h", |
| 69 "SVGFEColorMatrixElement.cpp", |
| 70 "SVGFEColorMatrixElement.h", |
| 71 "SVGFEComponentTransferElement.cpp", |
| 72 "SVGFEComponentTransferElement.h", |
| 73 "SVGFECompositeElement.cpp", |
| 74 "SVGFECompositeElement.h", |
| 75 "SVGFEConvolveMatrixElement.cpp", |
| 76 "SVGFEConvolveMatrixElement.h", |
| 77 "SVGFEDiffuseLightingElement.cpp", |
| 78 "SVGFEDiffuseLightingElement.h", |
| 79 "SVGFEDisplacementMapElement.cpp", |
| 80 "SVGFEDisplacementMapElement.h", |
| 81 "SVGFEDistantLightElement.cpp", |
| 82 "SVGFEDistantLightElement.h", |
| 83 "SVGFEDropShadowElement.cpp", |
| 84 "SVGFEDropShadowElement.h", |
| 85 "SVGFEFloodElement.cpp", |
| 86 "SVGFEFloodElement.h", |
| 87 "SVGFEFuncAElement.cpp", |
| 88 "SVGFEFuncAElement.h", |
| 89 "SVGFEFuncBElement.cpp", |
| 90 "SVGFEFuncBElement.h", |
| 91 "SVGFEFuncGElement.cpp", |
| 92 "SVGFEFuncGElement.h", |
| 93 "SVGFEFuncRElement.cpp", |
| 94 "SVGFEFuncRElement.h", |
| 95 "SVGFEGaussianBlurElement.cpp", |
| 96 "SVGFEGaussianBlurElement.h", |
| 97 "SVGFEImageElement.cpp", |
| 98 "SVGFEImageElement.h", |
| 99 "SVGFELightElement.cpp", |
| 100 "SVGFELightElement.h", |
| 101 "SVGFEMergeElement.cpp", |
| 102 "SVGFEMergeElement.h", |
| 103 "SVGFEMergeNodeElement.cpp", |
| 104 "SVGFEMergeNodeElement.h", |
| 105 "SVGFEMorphologyElement.cpp", |
| 106 "SVGFEMorphologyElement.h", |
| 107 "SVGFEOffsetElement.cpp", |
| 108 "SVGFEOffsetElement.h", |
| 109 "SVGFEPointLightElement.cpp", |
| 110 "SVGFEPointLightElement.h", |
| 111 "SVGFESpecularLightingElement.cpp", |
| 112 "SVGFESpecularLightingElement.h", |
| 113 "SVGFESpotLightElement.cpp", |
| 114 "SVGFESpotLightElement.h", |
| 115 "SVGFETileElement.cpp", |
| 116 "SVGFETileElement.h", |
| 117 "SVGFETurbulenceElement.cpp", |
| 118 "SVGFETurbulenceElement.h", |
| 119 "SVGFilterElement.cpp", |
| 120 "SVGFilterElement.h", |
| 121 "SVGFilterPrimitiveStandardAttributes.cpp", |
| 122 "SVGFilterPrimitiveStandardAttributes.h", |
| 123 "SVGFitToViewBox.cpp", |
| 124 "SVGFitToViewBox.h", |
| 125 "SVGForeignObjectElement.cpp", |
| 126 "SVGForeignObjectElement.h", |
| 127 "SVGGElement.cpp", |
| 128 "SVGGElement.h", |
| 129 "SVGGeometryElement.cpp", |
| 130 "SVGGeometryElement.h", |
| 131 "SVGGradientElement.cpp", |
| 132 "SVGGradientElement.h", |
| 133 "SVGGraphicsElement.cpp", |
| 134 "SVGGraphicsElement.h", |
| 135 "SVGImageElement.cpp", |
| 136 "SVGImageElement.h", |
| 137 "SVGImageLoader.cpp", |
| 138 "SVGImageLoader.h", |
| 139 "SVGInteger.cpp", |
| 140 "SVGInteger.h", |
| 141 "SVGIntegerOptionalInteger.cpp", |
| 142 "SVGIntegerOptionalInteger.h", |
| 143 "SVGLength.cpp", |
| 144 "SVGLengthContext.cpp", |
| 145 "SVGLengthList.cpp", |
| 146 "SVGLengthTearOff.cpp", |
| 147 "SVGLineElement.cpp", |
| 148 "SVGLineElement.h", |
| 149 "SVGLinearGradientElement.cpp", |
| 150 "SVGLinearGradientElement.h", |
| 151 "SVGMPathElement.cpp", |
| 152 "SVGMPathElement.h", |
| 153 "SVGMarkerElement.cpp", |
| 154 "SVGMarkerElement.h", |
| 155 "SVGMaskElement.cpp", |
| 156 "SVGMaskElement.h", |
| 157 "SVGMatrixTearOff.cpp", |
| 158 "SVGMatrixTearOff.h", |
| 159 "SVGMetadataElement.cpp", |
| 160 "SVGMetadataElement.h", |
| 161 "SVGNumber.cpp", |
| 162 "SVGNumber.h", |
| 163 "SVGNumberList.cpp", |
| 164 "SVGNumberList.h", |
| 165 "SVGNumberOptionalNumber.cpp", |
| 166 "SVGNumberOptionalNumber.h", |
| 167 "SVGNumberTearOff.cpp", |
| 168 "SVGNumberTearOff.h", |
| 169 "SVGParserUtilities.cpp", |
| 170 "SVGParserUtilities.h", |
| 171 "SVGParsingError.cpp", |
| 172 "SVGParsingError.h", |
| 173 "SVGPath.cpp", |
| 174 "SVGPath.h", |
| 175 "SVGPathBlender.cpp", |
| 176 "SVGPathBlender.h", |
| 177 "SVGPathBuilder.cpp", |
| 178 "SVGPathBuilder.h", |
| 179 "SVGPathByteStream.h", |
| 180 "SVGPathByteStreamBuilder.cpp", |
| 181 "SVGPathByteStreamBuilder.h", |
| 182 "SVGPathByteStreamSource.cpp", |
| 183 "SVGPathByteStreamSource.h", |
| 184 "SVGPathConsumer.h", |
| 185 "SVGPathData.h", |
| 186 "SVGPathElement.cpp", |
| 187 "SVGPathElement.h", |
| 188 "SVGPathParser.cpp", |
| 189 "SVGPathParser.h", |
| 190 "SVGPathQuery.cpp", |
| 191 "SVGPathQuery.h", |
| 192 "SVGPathStringBuilder.cpp", |
| 193 "SVGPathStringBuilder.h", |
| 194 "SVGPathStringSource.cpp", |
| 195 "SVGPathStringSource.h", |
| 196 "SVGPathUtilities.cpp", |
| 197 "SVGPathUtilities.h", |
| 198 "SVGPatternElement.cpp", |
| 199 "SVGPatternElement.h", |
| 200 "SVGPoint.cpp", |
| 201 "SVGPoint.h", |
| 202 "SVGPointList.cpp", |
| 203 "SVGPointList.h", |
| 204 "SVGPointTearOff.cpp", |
| 205 "SVGPointTearOff.h", |
| 206 "SVGPolyElement.cpp", |
| 207 "SVGPolyElement.h", |
| 208 "SVGPolygonElement.cpp", |
| 209 "SVGPolygonElement.h", |
| 210 "SVGPolylineElement.cpp", |
| 211 "SVGPolylineElement.h", |
| 212 "SVGPreserveAspectRatio.cpp", |
| 213 "SVGPreserveAspectRatioTearOff.cpp", |
| 214 "SVGRadialGradientElement.cpp", |
| 215 "SVGRadialGradientElement.h", |
| 216 "SVGRect.cpp", |
| 217 "SVGRect.h", |
| 218 "SVGRectElement.cpp", |
| 219 "SVGRectElement.h", |
| 220 "SVGRectTearOff.cpp", |
| 221 "SVGRectTearOff.h", |
| 222 "SVGResourceClient.cpp", |
| 223 "SVGResourceClient.h", |
| 224 "SVGSVGElement.cpp", |
| 225 "SVGSVGElement.h", |
| 226 "SVGScriptElement.cpp", |
| 227 "SVGScriptElement.h", |
| 228 "SVGSetElement.cpp", |
| 229 "SVGSetElement.h", |
| 230 "SVGStaticStringList.cpp", |
| 231 "SVGStaticStringList.h", |
| 232 "SVGStopElement.cpp", |
| 233 "SVGStopElement.h", |
| 234 "SVGString.cpp", |
| 235 "SVGString.h", |
| 236 "SVGStringList.cpp", |
| 237 "SVGStringList.h", |
| 238 "SVGStringListTearOff.cpp", |
| 239 "SVGStringListTearOff.h", |
| 240 "SVGStyleElement.cpp", |
| 241 "SVGStyleElement.h", |
| 242 "SVGSwitchElement.cpp", |
| 243 "SVGSwitchElement.h", |
| 244 "SVGSymbolElement.cpp", |
| 245 "SVGSymbolElement.h", |
| 246 "SVGTSpanElement.cpp", |
| 247 "SVGTSpanElement.h", |
| 248 "SVGTests.cpp", |
| 249 "SVGTests.h", |
| 250 "SVGTextContentElement.cpp", |
| 251 "SVGTextContentElement.h", |
| 252 "SVGTextElement.cpp", |
| 253 "SVGTextElement.h", |
| 254 "SVGTextPathElement.cpp", |
| 255 "SVGTextPathElement.h", |
| 256 "SVGTextPositioningElement.cpp", |
| 257 "SVGTextPositioningElement.h", |
| 258 "SVGTitleElement.cpp", |
| 259 "SVGTitleElement.h", |
| 260 "SVGTransform.cpp", |
| 261 "SVGTransformDistance.cpp", |
| 262 "SVGTransformDistance.h", |
| 263 "SVGTransformList.cpp", |
| 264 "SVGTransformListTearOff.cpp", |
| 265 "SVGTransformTearOff.cpp", |
| 266 "SVGURIReference.cpp", |
| 267 "SVGURIReference.h", |
| 268 "SVGUnitTypes.cpp", |
| 269 "SVGUnitTypes.h", |
| 270 "SVGUnknownElement.cpp", |
| 271 "SVGUnknownElement.h", |
| 272 "SVGUseElement.cpp", |
| 273 "SVGUseElement.h", |
| 274 "SVGViewElement.cpp", |
| 275 "SVGViewElement.h", |
| 276 "SVGViewSpec.cpp", |
| 277 "SVGViewSpec.h", |
| 278 "SVGZoomAndPan.cpp", |
| 279 "SVGZoomAndPan.h", |
| 280 "animation/SMILTime.cpp", |
| 281 "animation/SMILTimeContainer.cpp", |
| 282 "animation/SMILTimeContainer.h", |
| 283 "animation/SVGSMILElement.cpp", |
| 284 "graphics/SVGImage.cpp", |
| 285 "graphics/SVGImage.h", |
| 286 "graphics/SVGImageChromeClient.cpp", |
| 287 "graphics/SVGImageChromeClient.h", |
| 288 "graphics/SVGImageForContainer.cpp", |
| 289 "graphics/SVGImageForContainer.h", |
| 290 "graphics/filters/SVGFEImage.cpp", |
| 291 "graphics/filters/SVGFEImage.h", |
| 292 "graphics/filters/SVGFilterBuilder.cpp", |
| 293 "graphics/filters/SVGFilterBuilder.h", |
| 294 "properties/SVGAnimatedProperty.cpp", |
| 295 "properties/SVGPropertyTearOff.cpp", |
| 296 ] |
| 297 |
| 298 configs -= core_config_remove |
| 299 configs += core_config_add |
| 300 configs += [ |
| 301 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 302 "//build/config/compiler:no_size_t_to_int_warning", |
| 303 ] |
| 304 |
| 305 deps = [ |
| 306 "//third_party/WebKit/Source/core:prerequisites", |
| 307 ] |
| 308 } |
OLD | NEW |