| Index: third_party/WebKit/Source/core/layout/svg/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/BUILD.gn b/third_party/WebKit/Source/core/layout/svg/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a4047ae036fd1c6cddd36868ee01e66e69fc9b2a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/svg/BUILD.gn
|
| @@ -0,0 +1,111 @@
|
| +# 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 = [
|
| + "LayoutSVGBlock.cpp",
|
| + "LayoutSVGBlock.h",
|
| + "LayoutSVGContainer.cpp",
|
| + "LayoutSVGContainer.h",
|
| + "LayoutSVGEllipse.cpp",
|
| + "LayoutSVGEllipse.h",
|
| + "LayoutSVGForeignObject.cpp",
|
| + "LayoutSVGForeignObject.h",
|
| + "LayoutSVGGradientStop.cpp",
|
| + "LayoutSVGGradientStop.h",
|
| + "LayoutSVGHiddenContainer.cpp",
|
| + "LayoutSVGHiddenContainer.h",
|
| + "LayoutSVGImage.cpp",
|
| + "LayoutSVGImage.h",
|
| + "LayoutSVGInline.cpp",
|
| + "LayoutSVGInline.h",
|
| + "LayoutSVGInlineText.cpp",
|
| + "LayoutSVGInlineText.h",
|
| + "LayoutSVGModelObject.cpp",
|
| + "LayoutSVGModelObject.h",
|
| + "LayoutSVGPath.cpp",
|
| + "LayoutSVGPath.h",
|
| + "LayoutSVGRect.cpp",
|
| + "LayoutSVGRect.h",
|
| + "LayoutSVGResourceClipper.cpp",
|
| + "LayoutSVGResourceClipper.h",
|
| + "LayoutSVGResourceContainer.cpp",
|
| + "LayoutSVGResourceContainer.h",
|
| + "LayoutSVGResourceFilter.cpp",
|
| + "LayoutSVGResourceFilter.h",
|
| + "LayoutSVGResourceFilterPrimitive.cpp",
|
| + "LayoutSVGResourceFilterPrimitive.h",
|
| + "LayoutSVGResourceGradient.cpp",
|
| + "LayoutSVGResourceGradient.h",
|
| + "LayoutSVGResourceLinearGradient.cpp",
|
| + "LayoutSVGResourceLinearGradient.h",
|
| + "LayoutSVGResourceMarker.cpp",
|
| + "LayoutSVGResourceMarker.h",
|
| + "LayoutSVGResourceMasker.cpp",
|
| + "LayoutSVGResourceMasker.h",
|
| + "LayoutSVGResourcePaintServer.cpp",
|
| + "LayoutSVGResourcePaintServer.h",
|
| + "LayoutSVGResourcePattern.cpp",
|
| + "LayoutSVGResourcePattern.h",
|
| + "LayoutSVGResourceRadialGradient.cpp",
|
| + "LayoutSVGResourceRadialGradient.h",
|
| + "LayoutSVGRoot.cpp",
|
| + "LayoutSVGRoot.h",
|
| + "LayoutSVGShape.cpp",
|
| + "LayoutSVGShape.h",
|
| + "LayoutSVGTSpan.cpp",
|
| + "LayoutSVGTSpan.h",
|
| + "LayoutSVGText.cpp",
|
| + "LayoutSVGText.h",
|
| + "LayoutSVGTextPath.cpp",
|
| + "LayoutSVGTextPath.h",
|
| + "LayoutSVGTransformableContainer.cpp",
|
| + "LayoutSVGTransformableContainer.h",
|
| + "LayoutSVGViewportContainer.cpp",
|
| + "LayoutSVGViewportContainer.h",
|
| + "ReferenceFilterBuilder.cpp",
|
| + "ReferenceFilterBuilder.h",
|
| + "SVGCharacterData.h",
|
| + "SVGLayoutSupport.cpp",
|
| + "SVGLayoutSupport.h",
|
| + "SVGLayoutTreeAsText.cpp",
|
| + "SVGLayoutTreeAsText.h",
|
| + "SVGMarkerData.h",
|
| + "SVGResources.cpp",
|
| + "SVGResources.h",
|
| + "SVGResourcesCache.cpp",
|
| + "SVGResourcesCycleSolver.cpp",
|
| + "SVGResourcesCycleSolver.h",
|
| + "SVGTextChunkBuilder.cpp",
|
| + "SVGTextChunkBuilder.h",
|
| + "SVGTextFragment.h",
|
| + "SVGTextLayoutAttributesBuilder.cpp",
|
| + "SVGTextLayoutAttributesBuilder.h",
|
| + "SVGTextLayoutEngine.cpp",
|
| + "SVGTextLayoutEngine.h",
|
| + "SVGTextLayoutEngineBaseline.cpp",
|
| + "SVGTextLayoutEngineBaseline.h",
|
| + "SVGTextLayoutEngineSpacing.cpp",
|
| + "SVGTextLayoutEngineSpacing.h",
|
| + "SVGTextMetrics.cpp",
|
| + "SVGTextMetrics.h",
|
| + "SVGTextQuery.cpp",
|
| + "SVGTextQuery.h",
|
| + ]
|
| +
|
| + 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",
|
| + ]
|
| +}
|
|
|