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 |
index a750f288a1849a30b63587edc30993e9dc6a5416..a4047ae036fd1c6cddd36868ee01e66e69fc9b2a 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/BUILD.gn |
+++ b/third_party/WebKit/Source/core/layout/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 = [ |
"LayoutSVGBlock.cpp", |
"LayoutSVGBlock.h", |
@@ -96,8 +98,14 @@ |
"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", |
+ ] |
} |