Index: third_party/WebKit/Source/core/svg/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/svg/BUILD.gn b/third_party/WebKit/Source/core/svg/BUILD.gn |
index 455ece26e9be6085aaa84e5088f04d7274a14e25..41a0f917336980b6e696884a9f322a187d8e72c0 100644 |
--- a/third_party/WebKit/Source/core/svg/BUILD.gn |
+++ b/third_party/WebKit/Source/core/svg/BUILD.gn |
@@ -4,7 +4,9 @@ |
import("//third_party/WebKit/Source/core/core.gni") |
-blink_core_sources("svg") { |
+target(core_link_small_target_type, "svg") { |
+ visibility = [ "//third_party/WebKit/Source/core/*" ] |
+ |
sources = [ |
"ColorDistance.cpp", |
"ColorDistance.h", |
@@ -293,8 +295,14 @@ |
"properties/SVGPropertyTearOff.cpp", |
] |
+ 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", |
+ ] |
} |