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

Unified Diff: third_party/WebKit/Source/core/layout/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/html/BUILD.gn ('k') | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/core/html/BUILD.gn ('k') | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698