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("rendering") { | 7 target(core_link_small_target_type, "svg") { |
8 visibility = [ "//third_party/WebKit/Source/core/*" ] | 8 visibility = [ "//third_party/WebKit/Source/core/*" ] |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "AppliedTextDecoration.cpp", | 11 "SVGComputedStyle.cpp", |
12 "BasicShapes.cpp", | 12 "SVGComputedStyleDefs.cpp", |
13 "BorderEdge.cpp", | |
14 "BorderEdge.h", | |
15 "BorderImageLength.h", | |
16 "BorderImageLengthBox.h", | |
17 "CachedUAStyle.h", | |
18 "ClipPathOperation.h", | |
19 "ComputedStyle.cpp", | |
20 "ComputedStyle.h", | |
21 "ContentData.cpp", | |
22 "CounterDirectives.cpp", | |
23 "DataEquivalency.h", | |
24 "DataPersistent.h", | |
25 "DataRef.h", | |
26 "FillLayer.cpp", | |
27 "GridArea.h", | |
28 "GridPositionsResolver.cpp", | |
29 "GridPositionsResolver.h", | |
30 "NinePieceImage.cpp", | |
31 "QuotesData.cpp", | |
32 "QuotesData.h", | |
33 "ShadowData.cpp", | |
34 "ShadowData.h", | |
35 "ShadowList.cpp", | |
36 "ShadowList.h", | |
37 "StyleBackgroundData.cpp", | |
38 "StyleBoxData.cpp", | |
39 "StyleContentAlignmentData.h", | |
40 "StyleDeprecatedFlexibleBoxData.cpp", | |
41 "StyleFetchedImage.cpp", | |
42 "StyleFetchedImageSet.cpp", | |
43 "StyleFilterData.cpp", | |
44 "StyleFlexibleBoxData.cpp", | |
45 "StyleGeneratedImage.cpp", | |
46 "StyleGridData.cpp", | |
47 "StyleGridItemData.cpp", | |
48 "StyleImage.cpp", | |
49 "StyleInheritedData.cpp", | |
50 "StyleInvalidImage.h", | |
51 "StyleMotionData.cpp", | |
52 "StyleMotionData.h", | |
53 "StyleMotionRotation.h", | |
54 "StyleMultiColData.cpp", | |
55 "StylePath.cpp", | |
56 "StylePath.h", | |
57 "StylePendingImage.h", | |
58 "StyleRareInheritedData.cpp", | |
59 "StyleRareNonInheritedData.cpp", | |
60 "StyleScrollSnapData.cpp", | |
61 "StyleScrollSnapData.h", | |
62 "StyleSelfAlignmentData.h", | |
63 "StyleSurroundData.cpp", | |
64 "StyleTransformData.cpp", | |
65 "StyleVariableData.cpp", | |
66 "StyleVariableData.h", | |
67 "StyleVisualData.cpp", | |
68 "StyleWillChangeData.cpp", | |
69 "TextSizeAdjust.h", | |
70 ] | 13 ] |
| 14 |
| 15 configs -= core_config_remove |
| 16 configs += core_config_add |
71 configs += [ | 17 configs += [ |
72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 18 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
73 "//build/config/compiler:no_size_t_to_int_warning", | 19 "//build/config/compiler:no_size_t_to_int_warning", |
74 ] | 20 ] |
75 } | |
76 | 21 |
77 blink_core_sources("svg") { | 22 deps = [ |
78 sources = [ | 23 "//third_party/WebKit/Source/core:prerequisites", |
79 "SVGComputedStyle.cpp", | |
80 "SVGComputedStyleDefs.cpp", | |
81 ] | |
82 configs += [ | |
83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
84 "//build/config/compiler:no_size_t_to_int_warning", | |
85 ] | 24 ] |
86 } | 25 } |
OLD | NEW |