Index: third_party/WebKit/Source/core/events/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/events/BUILD.gn b/third_party/WebKit/Source/core/events/BUILD.gn |
index 778429dc51c4a8ddeccedef08287edd633552460..63f34adb05ebd6da695d129b219be788bf4e445d 100644 |
--- a/third_party/WebKit/Source/core/events/BUILD.gn |
+++ b/third_party/WebKit/Source/core/events/BUILD.gn |
@@ -4,7 +4,9 @@ |
import("//third_party/WebKit/Source/core/core.gni") |
-blink_core_sources("events") { |
+target(core_link_small_target_type, "events") { |
+ visibility = [ "//third_party/WebKit/Source/core/*" ] |
+ |
sources = [ |
"AddEventListenerOptionsResolved.cpp", |
"AddEventListenerOptionsResolved.h", |
@@ -105,8 +107,14 @@ |
"WindowEventContext.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", |
+ ] |
} |