| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/WebKit/Source/core/core.gni") | 5 import("//third_party/WebKit/Source/core/core.gni") |
| 6 | 6 |
| 7 blink_core_sources("svg") { | 7 blink_core_sources("svg") { |
| 8 # Split into multiple static libraries on Windows official builds, where we | 8 # Split into multiple static libraries on Windows official builds, where we |
| 9 # run into a 2GB max size limit. | 9 # run into a 2GB max size limit. |
| 10 if (is_win && is_official_build) { | 10 if (is_win && is_official_build) { |
| 11 split_count = 5 | 11 split_count = 5 |
| 12 } else { | 12 } else { |
| 13 split_count = 1 | 13 split_count = 1 |
| 14 } | 14 } |
| 15 | 15 |
| 16 sources = [ | 16 sources = [ |
| 17 "ColorDistance.cpp", | 17 "ColorDistance.cpp", |
| 18 "ColorDistance.h", | 18 "ColorDistance.h", |
| 19 "GradientAttributes.h", | 19 "GradientAttributes.h", |
| 20 "LinearGradientAttributes.h", | 20 "LinearGradientAttributes.h", |
| 21 "PatternAttributes.h", | 21 "PatternAttributes.h", |
| 22 "RadialGradientAttributes.h", | 22 "RadialGradientAttributes.h", |
| 23 "SVGAElement.cpp", | 23 "SVGAElement.cpp", |
| 24 "SVGAElement.h", | 24 "SVGAElement.h", |
| 25 "SVGAngle.cpp", | 25 "SVGAngle.cpp", |
| 26 "SVGAngle.h", |
| 26 "SVGAngleTearOff.cpp", | 27 "SVGAngleTearOff.cpp", |
| 28 "SVGAngleTearOff.h", |
| 27 "SVGAnimateElement.cpp", | 29 "SVGAnimateElement.cpp", |
| 28 "SVGAnimateElement.h", | 30 "SVGAnimateElement.h", |
| 29 "SVGAnimateMotionElement.cpp", | 31 "SVGAnimateMotionElement.cpp", |
| 30 "SVGAnimateMotionElement.h", | 32 "SVGAnimateMotionElement.h", |
| 31 "SVGAnimateTransformElement.cpp", | 33 "SVGAnimateTransformElement.cpp", |
| 32 "SVGAnimateTransformElement.h", | 34 "SVGAnimateTransformElement.h", |
| 33 "SVGAnimatedAngle.cpp", | 35 "SVGAnimatedAngle.cpp", |
| 36 "SVGAnimatedAngle.h", |
| 34 "SVGAnimatedColor.cpp", | 37 "SVGAnimatedColor.cpp", |
| 38 "SVGAnimatedColor.h", |
| 35 "SVGAnimatedEnumerationBase.cpp", | 39 "SVGAnimatedEnumerationBase.cpp", |
| 40 "SVGAnimatedEnumerationBase.h", |
| 36 "SVGAnimatedHref.cpp", | 41 "SVGAnimatedHref.cpp", |
| 37 "SVGAnimatedHref.h", | 42 "SVGAnimatedHref.h", |
| 38 "SVGAnimatedInteger.cpp", | 43 "SVGAnimatedInteger.cpp", |
| 44 "SVGAnimatedInteger.h", |
| 39 "SVGAnimatedIntegerOptionalInteger.cpp", | 45 "SVGAnimatedIntegerOptionalInteger.cpp", |
| 46 "SVGAnimatedIntegerOptionalInteger.h", |
| 40 "SVGAnimatedLength.cpp", | 47 "SVGAnimatedLength.cpp", |
| 48 "SVGAnimatedLength.h", |
| 41 "SVGAnimatedNumber.cpp", | 49 "SVGAnimatedNumber.cpp", |
| 50 "SVGAnimatedNumber.h", |
| 42 "SVGAnimatedNumberOptionalNumber.cpp", | 51 "SVGAnimatedNumberOptionalNumber.cpp", |
| 52 "SVGAnimatedNumberOptionalNumber.h", |
| 43 "SVGAnimatedPath.cpp", | 53 "SVGAnimatedPath.cpp", |
| 54 "SVGAnimatedPath.h", |
| 44 "SVGAnimatedString.cpp", | 55 "SVGAnimatedString.cpp", |
| 45 "SVGAnimatedString.h", | 56 "SVGAnimatedString.h", |
| 46 "SVGAnimationElement.cpp", | 57 "SVGAnimationElement.cpp", |
| 47 "SVGAnimationElement.h", | 58 "SVGAnimationElement.h", |
| 48 "SVGBoolean.cpp", | 59 "SVGBoolean.cpp", |
| 49 "SVGBoolean.h", | 60 "SVGBoolean.h", |
| 50 "SVGCircleElement.cpp", | 61 "SVGCircleElement.cpp", |
| 51 "SVGCircleElement.h", | 62 "SVGCircleElement.h", |
| 52 "SVGClipPathElement.cpp", | 63 "SVGClipPathElement.cpp", |
| 53 "SVGClipPathElement.h", | 64 "SVGClipPathElement.h", |
| 54 "SVGComponentTransferFunctionElement.cpp", | 65 "SVGComponentTransferFunctionElement.cpp", |
| 55 "SVGComponentTransferFunctionElement.h", | 66 "SVGComponentTransferFunctionElement.h", |
| 56 "SVGDefsElement.cpp", | 67 "SVGDefsElement.cpp", |
| 57 "SVGDefsElement.h", | 68 "SVGDefsElement.h", |
| 58 "SVGDescElement.cpp", | 69 "SVGDescElement.cpp", |
| 59 "SVGDescElement.h", | 70 "SVGDescElement.h", |
| 60 "SVGDiscardElement.cpp", | 71 "SVGDiscardElement.cpp", |
| 61 "SVGDiscardElement.h", | 72 "SVGDiscardElement.h", |
| 62 "SVGDocumentExtensions.cpp", | 73 "SVGDocumentExtensions.cpp", |
| 74 "SVGDocumentExtensions.h", |
| 63 "SVGElement.cpp", | 75 "SVGElement.cpp", |
| 64 "SVGElement.h", | 76 "SVGElement.h", |
| 65 "SVGElementProxy.cpp", | 77 "SVGElementProxy.cpp", |
| 66 "SVGElementProxy.h", | 78 "SVGElementProxy.h", |
| 67 "SVGElementRareData.cpp", | 79 "SVGElementRareData.cpp", |
| 68 "SVGElementRareData.h", | 80 "SVGElementRareData.h", |
| 69 "SVGEllipseElement.cpp", | 81 "SVGEllipseElement.cpp", |
| 70 "SVGEllipseElement.h", | 82 "SVGEllipseElement.h", |
| 71 "SVGEnumeration.cpp", | 83 "SVGEnumeration.cpp", |
| 84 "SVGEnumeration.h", |
| 72 "SVGFEBlendElement.cpp", | 85 "SVGFEBlendElement.cpp", |
| 73 "SVGFEBlendElement.h", | 86 "SVGFEBlendElement.h", |
| 74 "SVGFEColorMatrixElement.cpp", | 87 "SVGFEColorMatrixElement.cpp", |
| 75 "SVGFEColorMatrixElement.h", | 88 "SVGFEColorMatrixElement.h", |
| 76 "SVGFEComponentTransferElement.cpp", | 89 "SVGFEComponentTransferElement.cpp", |
| 77 "SVGFEComponentTransferElement.h", | 90 "SVGFEComponentTransferElement.h", |
| 78 "SVGFECompositeElement.cpp", | 91 "SVGFECompositeElement.cpp", |
| 79 "SVGFECompositeElement.h", | 92 "SVGFECompositeElement.h", |
| 80 "SVGFEConvolveMatrixElement.cpp", | 93 "SVGFEConvolveMatrixElement.cpp", |
| 81 "SVGFEConvolveMatrixElement.h", | 94 "SVGFEConvolveMatrixElement.h", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 "SVGGraphicsElement.h", | 152 "SVGGraphicsElement.h", |
| 140 "SVGImageElement.cpp", | 153 "SVGImageElement.cpp", |
| 141 "SVGImageElement.h", | 154 "SVGImageElement.h", |
| 142 "SVGImageLoader.cpp", | 155 "SVGImageLoader.cpp", |
| 143 "SVGImageLoader.h", | 156 "SVGImageLoader.h", |
| 144 "SVGInteger.cpp", | 157 "SVGInteger.cpp", |
| 145 "SVGInteger.h", | 158 "SVGInteger.h", |
| 146 "SVGIntegerOptionalInteger.cpp", | 159 "SVGIntegerOptionalInteger.cpp", |
| 147 "SVGIntegerOptionalInteger.h", | 160 "SVGIntegerOptionalInteger.h", |
| 148 "SVGLength.cpp", | 161 "SVGLength.cpp", |
| 162 "SVGLength.h", |
| 149 "SVGLengthContext.cpp", | 163 "SVGLengthContext.cpp", |
| 164 "SVGLengthContext.h", |
| 150 "SVGLengthList.cpp", | 165 "SVGLengthList.cpp", |
| 166 "SVGLengthList.h", |
| 151 "SVGLengthTearOff.cpp", | 167 "SVGLengthTearOff.cpp", |
| 168 "SVGLengthTearOff.h", |
| 152 "SVGLineElement.cpp", | 169 "SVGLineElement.cpp", |
| 153 "SVGLineElement.h", | 170 "SVGLineElement.h", |
| 154 "SVGLinearGradientElement.cpp", | 171 "SVGLinearGradientElement.cpp", |
| 155 "SVGLinearGradientElement.h", | 172 "SVGLinearGradientElement.h", |
| 156 "SVGMPathElement.cpp", | 173 "SVGMPathElement.cpp", |
| 157 "SVGMPathElement.h", | 174 "SVGMPathElement.h", |
| 158 "SVGMarkerElement.cpp", | 175 "SVGMarkerElement.cpp", |
| 159 "SVGMarkerElement.h", | 176 "SVGMarkerElement.h", |
| 160 "SVGMaskElement.cpp", | 177 "SVGMaskElement.cpp", |
| 161 "SVGMaskElement.h", | 178 "SVGMaskElement.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 "SVGPointList.h", | 225 "SVGPointList.h", |
| 209 "SVGPointTearOff.cpp", | 226 "SVGPointTearOff.cpp", |
| 210 "SVGPointTearOff.h", | 227 "SVGPointTearOff.h", |
| 211 "SVGPolyElement.cpp", | 228 "SVGPolyElement.cpp", |
| 212 "SVGPolyElement.h", | 229 "SVGPolyElement.h", |
| 213 "SVGPolygonElement.cpp", | 230 "SVGPolygonElement.cpp", |
| 214 "SVGPolygonElement.h", | 231 "SVGPolygonElement.h", |
| 215 "SVGPolylineElement.cpp", | 232 "SVGPolylineElement.cpp", |
| 216 "SVGPolylineElement.h", | 233 "SVGPolylineElement.h", |
| 217 "SVGPreserveAspectRatio.cpp", | 234 "SVGPreserveAspectRatio.cpp", |
| 235 "SVGPreserveAspectRatio.h", |
| 218 "SVGPreserveAspectRatioTearOff.cpp", | 236 "SVGPreserveAspectRatioTearOff.cpp", |
| 237 "SVGPreserveAspectRatioTearOff.h", |
| 219 "SVGRadialGradientElement.cpp", | 238 "SVGRadialGradientElement.cpp", |
| 220 "SVGRadialGradientElement.h", | 239 "SVGRadialGradientElement.h", |
| 221 "SVGRect.cpp", | 240 "SVGRect.cpp", |
| 222 "SVGRect.h", | 241 "SVGRect.h", |
| 223 "SVGRectElement.cpp", | 242 "SVGRectElement.cpp", |
| 224 "SVGRectElement.h", | 243 "SVGRectElement.h", |
| 225 "SVGRectTearOff.cpp", | 244 "SVGRectTearOff.cpp", |
| 226 "SVGRectTearOff.h", | 245 "SVGRectTearOff.h", |
| 227 "SVGResourceClient.h", | 246 "SVGResourceClient.h", |
| 228 "SVGSVGElement.cpp", | 247 "SVGSVGElement.cpp", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 255 "SVGTextContentElement.h", | 274 "SVGTextContentElement.h", |
| 256 "SVGTextElement.cpp", | 275 "SVGTextElement.cpp", |
| 257 "SVGTextElement.h", | 276 "SVGTextElement.h", |
| 258 "SVGTextPathElement.cpp", | 277 "SVGTextPathElement.cpp", |
| 259 "SVGTextPathElement.h", | 278 "SVGTextPathElement.h", |
| 260 "SVGTextPositioningElement.cpp", | 279 "SVGTextPositioningElement.cpp", |
| 261 "SVGTextPositioningElement.h", | 280 "SVGTextPositioningElement.h", |
| 262 "SVGTitleElement.cpp", | 281 "SVGTitleElement.cpp", |
| 263 "SVGTitleElement.h", | 282 "SVGTitleElement.h", |
| 264 "SVGTransform.cpp", | 283 "SVGTransform.cpp", |
| 284 "SVGTransform.h", |
| 265 "SVGTransformDistance.cpp", | 285 "SVGTransformDistance.cpp", |
| 266 "SVGTransformDistance.h", | 286 "SVGTransformDistance.h", |
| 267 "SVGTransformList.cpp", | 287 "SVGTransformList.cpp", |
| 288 "SVGTransformList.h", |
| 268 "SVGTransformListTearOff.cpp", | 289 "SVGTransformListTearOff.cpp", |
| 290 "SVGTransformListTearOff.h", |
| 269 "SVGTransformTearOff.cpp", | 291 "SVGTransformTearOff.cpp", |
| 292 "SVGTransformTearOff.h", |
| 270 "SVGTreeScopeResources.cpp", | 293 "SVGTreeScopeResources.cpp", |
| 271 "SVGTreeScopeResources.h", | 294 "SVGTreeScopeResources.h", |
| 272 "SVGURIReference.cpp", | 295 "SVGURIReference.cpp", |
| 273 "SVGURIReference.h", | 296 "SVGURIReference.h", |
| 274 "SVGUnitTypes.cpp", | 297 "SVGUnitTypes.cpp", |
| 275 "SVGUnitTypes.h", | 298 "SVGUnitTypes.h", |
| 276 "SVGUnknownElement.cpp", | 299 "SVGUnknownElement.cpp", |
| 277 "SVGUnknownElement.h", | 300 "SVGUnknownElement.h", |
| 278 "SVGUseElement.cpp", | 301 "SVGUseElement.cpp", |
| 279 "SVGUseElement.h", | 302 "SVGUseElement.h", |
| 280 "SVGViewElement.cpp", | 303 "SVGViewElement.cpp", |
| 281 "SVGViewElement.h", | 304 "SVGViewElement.h", |
| 282 "SVGViewSpec.cpp", | 305 "SVGViewSpec.cpp", |
| 283 "SVGViewSpec.h", | 306 "SVGViewSpec.h", |
| 284 "SVGZoomAndPan.cpp", | 307 "SVGZoomAndPan.cpp", |
| 285 "SVGZoomAndPan.h", | 308 "SVGZoomAndPan.h", |
| 286 "animation/SMILTime.cpp", | 309 "animation/SMILTime.cpp", |
| 310 "animation/SMILTime.h", |
| 287 "animation/SMILTimeContainer.cpp", | 311 "animation/SMILTimeContainer.cpp", |
| 288 "animation/SMILTimeContainer.h", | 312 "animation/SMILTimeContainer.h", |
| 289 "animation/SVGSMILElement.cpp", | 313 "animation/SVGSMILElement.cpp", |
| 314 "animation/SVGSMILElement.h", |
| 290 "graphics/SVGImage.cpp", | 315 "graphics/SVGImage.cpp", |
| 291 "graphics/SVGImage.h", | 316 "graphics/SVGImage.h", |
| 292 "graphics/SVGImageChromeClient.cpp", | 317 "graphics/SVGImageChromeClient.cpp", |
| 293 "graphics/SVGImageChromeClient.h", | 318 "graphics/SVGImageChromeClient.h", |
| 294 "graphics/SVGImageForContainer.cpp", | 319 "graphics/SVGImageForContainer.cpp", |
| 295 "graphics/SVGImageForContainer.h", | 320 "graphics/SVGImageForContainer.h", |
| 296 "graphics/filters/SVGFEImage.cpp", | 321 "graphics/filters/SVGFEImage.cpp", |
| 297 "graphics/filters/SVGFEImage.h", | 322 "graphics/filters/SVGFEImage.h", |
| 298 "graphics/filters/SVGFilterBuilder.cpp", | 323 "graphics/filters/SVGFilterBuilder.cpp", |
| 299 "graphics/filters/SVGFilterBuilder.h", | 324 "graphics/filters/SVGFilterBuilder.h", |
| 300 "properties/SVGAnimatedProperty.cpp", | 325 "properties/SVGAnimatedProperty.cpp", |
| 326 "properties/SVGAnimatedProperty.h", |
| 301 "properties/SVGPropertyTearOff.cpp", | 327 "properties/SVGPropertyTearOff.cpp", |
| 328 "properties/SVGPropertyTearOff.h", |
| 302 ] | 329 ] |
| 303 | 330 |
| 304 configs += [ | 331 configs += [ |
| 305 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 332 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 306 "//build/config/compiler:no_size_t_to_int_warning", | 333 "//build/config/compiler:no_size_t_to_int_warning", |
| 307 ] | 334 ] |
| 308 } | 335 } |
| OLD | NEW |