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("svg") { | 7 target(core_link_small_target_type, "svg") { |
| 8 visibility = [ "//third_party/WebKit/Source/core/*" ] |
| 9 |
8 sources = [ | 10 sources = [ |
9 "ColorDistance.cpp", | 11 "ColorDistance.cpp", |
10 "ColorDistance.h", | 12 "ColorDistance.h", |
11 "GradientAttributes.h", | 13 "GradientAttributes.h", |
12 "LinearGradientAttributes.h", | 14 "LinearGradientAttributes.h", |
13 "PatternAttributes.h", | 15 "PatternAttributes.h", |
14 "RadialGradientAttributes.h", | 16 "RadialGradientAttributes.h", |
15 "SVGAElement.cpp", | 17 "SVGAElement.cpp", |
16 "SVGAElement.h", | 18 "SVGAElement.h", |
17 "SVGAngle.cpp", | 19 "SVGAngle.cpp", |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 "graphics/SVGImageForContainer.cpp", | 288 "graphics/SVGImageForContainer.cpp", |
287 "graphics/SVGImageForContainer.h", | 289 "graphics/SVGImageForContainer.h", |
288 "graphics/filters/SVGFEImage.cpp", | 290 "graphics/filters/SVGFEImage.cpp", |
289 "graphics/filters/SVGFEImage.h", | 291 "graphics/filters/SVGFEImage.h", |
290 "graphics/filters/SVGFilterBuilder.cpp", | 292 "graphics/filters/SVGFilterBuilder.cpp", |
291 "graphics/filters/SVGFilterBuilder.h", | 293 "graphics/filters/SVGFilterBuilder.h", |
292 "properties/SVGAnimatedProperty.cpp", | 294 "properties/SVGAnimatedProperty.cpp", |
293 "properties/SVGPropertyTearOff.cpp", | 295 "properties/SVGPropertyTearOff.cpp", |
294 ] | 296 ] |
295 | 297 |
| 298 configs -= core_config_remove |
| 299 configs += core_config_add |
296 configs += [ | 300 configs += [ |
297 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 301 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
298 "//build/config/compiler:no_size_t_to_int_warning", | 302 "//build/config/compiler:no_size_t_to_int_warning", |
299 ] | 303 ] |
| 304 |
| 305 deps = [ |
| 306 "//third_party/WebKit/Source/core:prerequisites", |
| 307 ] |
300 } | 308 } |
OLD | NEW |