Index: extensions/browser/api/sockets_udp/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/imagebitmap/BUILD.gn b/extensions/browser/api/sockets_udp/BUILD.gn |
similarity index 61% |
copy from third_party/WebKit/Source/core/imagebitmap/BUILD.gn |
copy to extensions/browser/api/sockets_udp/BUILD.gn |
index 57a855ca9470acb07aba6a48b7f554ada7e66d52..0a98fc2003a6ced302abbb56d975583fc5ab2744 100644 |
--- a/third_party/WebKit/Source/core/imagebitmap/BUILD.gn |
+++ b/extensions/browser/api/sockets_udp/BUILD.gn |
@@ -2,18 +2,20 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//third_party/WebKit/Source/core/core.gni") |
- |
-blink_core_sources("imagebitmap") { |
+source_set("sockets_udp") { |
sources = [ |
- "ImageBitmapFactories.cpp", |
- "ImageBitmapFactories.h", |
- "ImageBitmapSource.cpp", |
- "ImageBitmapSource.h", |
+ "sockets_udp_api.cc", |
+ "sockets_udp_api.h", |
+ "udp_socket_event_dispatcher.cc", |
+ "udp_socket_event_dispatcher.h", |
] |
configs += [ |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
"//build/config/compiler:no_size_t_to_int_warning", |
] |
+ |
+ deps = [ |
+ "//extensions/common/api", |
+ ] |
} |