Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: third_party/WebKit/Source/core/svg/BUILD.gn

Issue 2299143005: Inline core HTML and SVG sources in the GN build. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/BUILD.gn
diff --git a/third_party/WebKit/Source/core/svg/BUILD.gn b/third_party/WebKit/Source/core/svg/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..41a0f917336980b6e696884a9f322a187d8e72c0
--- /dev/null
+++ b/third_party/WebKit/Source/core/svg/BUILD.gn
@@ -0,0 +1,308 @@
+# 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")
+
+target(core_link_small_target_type, "svg") {
+ visibility = [ "//third_party/WebKit/Source/core/*" ]
+
+ 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 -= core_config_remove
+ configs += core_config_add
+ configs += [
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
+
+ deps = [
+ "//third_party/WebKit/Source/core:prerequisites",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/core/style/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698