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 "LayoutSVGBlock.cpp", | |
12 "LayoutSVGBlock.h", | |
13 "LayoutSVGContainer.cpp", | |
14 "LayoutSVGContainer.h", | |
15 "LayoutSVGEllipse.cpp", | |
16 "LayoutSVGEllipse.h", | |
17 "LayoutSVGForeignObject.cpp", | |
18 "LayoutSVGForeignObject.h", | |
19 "LayoutSVGGradientStop.cpp", | |
20 "LayoutSVGGradientStop.h", | |
21 "LayoutSVGHiddenContainer.cpp", | |
22 "LayoutSVGHiddenContainer.h", | |
23 "LayoutSVGImage.cpp", | |
24 "LayoutSVGImage.h", | |
25 "LayoutSVGInline.cpp", | |
26 "LayoutSVGInline.h", | |
27 "LayoutSVGInlineText.cpp", | |
28 "LayoutSVGInlineText.h", | |
29 "LayoutSVGModelObject.cpp", | |
30 "LayoutSVGModelObject.h", | |
31 "LayoutSVGPath.cpp", | |
32 "LayoutSVGPath.h", | |
33 "LayoutSVGRect.cpp", | |
34 "LayoutSVGRect.h", | |
35 "LayoutSVGResourceClipper.cpp", | |
36 "LayoutSVGResourceClipper.h", | |
37 "LayoutSVGResourceContainer.cpp", | |
38 "LayoutSVGResourceContainer.h", | |
39 "LayoutSVGResourceFilter.cpp", | |
40 "LayoutSVGResourceFilter.h", | |
41 "LayoutSVGResourceFilterPrimitive.cpp", | |
42 "LayoutSVGResourceFilterPrimitive.h", | |
43 "LayoutSVGResourceGradient.cpp", | |
44 "LayoutSVGResourceGradient.h", | |
45 "LayoutSVGResourceLinearGradient.cpp", | |
46 "LayoutSVGResourceLinearGradient.h", | |
47 "LayoutSVGResourceMarker.cpp", | |
48 "LayoutSVGResourceMarker.h", | |
49 "LayoutSVGResourceMasker.cpp", | |
50 "LayoutSVGResourceMasker.h", | |
51 "LayoutSVGResourcePaintServer.cpp", | |
52 "LayoutSVGResourcePaintServer.h", | |
53 "LayoutSVGResourcePattern.cpp", | |
54 "LayoutSVGResourcePattern.h", | |
55 "LayoutSVGResourceRadialGradient.cpp", | |
56 "LayoutSVGResourceRadialGradient.h", | |
57 "LayoutSVGRoot.cpp", | |
58 "LayoutSVGRoot.h", | |
59 "LayoutSVGShape.cpp", | |
60 "LayoutSVGShape.h", | |
61 "LayoutSVGTSpan.cpp", | |
62 "LayoutSVGTSpan.h", | |
63 "LayoutSVGText.cpp", | |
64 "LayoutSVGText.h", | |
65 "LayoutSVGTextPath.cpp", | |
66 "LayoutSVGTextPath.h", | |
67 "LayoutSVGTransformableContainer.cpp", | |
68 "LayoutSVGTransformableContainer.h", | |
69 "LayoutSVGViewportContainer.cpp", | |
70 "LayoutSVGViewportContainer.h", | |
71 "ReferenceFilterBuilder.cpp", | |
72 "ReferenceFilterBuilder.h", | |
73 "SVGCharacterData.h", | |
74 "SVGLayoutSupport.cpp", | |
75 "SVGLayoutSupport.h", | |
76 "SVGLayoutTreeAsText.cpp", | |
77 "SVGLayoutTreeAsText.h", | |
78 "SVGMarkerData.h", | |
79 "SVGResources.cpp", | |
80 "SVGResources.h", | |
81 "SVGResourcesCache.cpp", | |
82 "SVGResourcesCycleSolver.cpp", | |
83 "SVGResourcesCycleSolver.h", | |
84 "SVGTextChunkBuilder.cpp", | |
85 "SVGTextChunkBuilder.h", | |
86 "SVGTextFragment.h", | |
87 "SVGTextLayoutAttributesBuilder.cpp", | |
88 "SVGTextLayoutAttributesBuilder.h", | |
89 "SVGTextLayoutEngine.cpp", | |
90 "SVGTextLayoutEngine.h", | |
91 "SVGTextLayoutEngineBaseline.cpp", | |
92 "SVGTextLayoutEngineBaseline.h", | |
93 "SVGTextLayoutEngineSpacing.cpp", | |
94 "SVGTextLayoutEngineSpacing.h", | |
95 "SVGTextMetrics.cpp", | |
96 "SVGTextMetrics.h", | |
97 "SVGTextQuery.cpp", | |
98 "SVGTextQuery.h", | |
99 ] | |
100 | |
101 configs -= core_config_remove | |
102 configs += core_config_add | |
103 configs += [ | |
104 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
105 "//build/config/compiler:no_size_t_to_int_warning", | |
106 ] | |
107 | |
108 deps = [ | |
109 "//third_party/WebKit/Source/core:prerequisites", | |
110 ] | |
111 } | |
OLD | NEW |