Index: third_party/WebKit/Source/core/html/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/html/BUILD.gn b/third_party/WebKit/Source/core/html/BUILD.gn |
index e57ab513766915ff835e5d96428c95512b10cf52..4fed37b56317b9a8dde35f46f1ab3a43228fa421 100644 |
--- a/third_party/WebKit/Source/core/html/BUILD.gn |
+++ b/third_party/WebKit/Source/core/html/BUILD.gn |
@@ -5,8 +5,12 @@ |
import("//build/split_static_library.gni") |
import("//third_party/WebKit/Source/core/core.gni") |
-blink_core_sources("html") { |
- split_count = 5 |
+target(core_link_large_target_type, "html") { |
+ visibility = [ "//third_party/WebKit/Source/core/*" ] |
+ |
+ if (core_link_large_target_type == "split_static_library") { |
+ split_count = 5 |
+ } |
sources = [ |
"AutoplayExperimentHelper.cpp", |
@@ -503,8 +507,14 @@ |
"track/vtt/VTTTokenizer.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", |
+ ] |
} |