Index: extensions/browser/api/sockets_tcp/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/imagebitmap/BUILD.gn b/extensions/browser/api/sockets_tcp/BUILD.gn |
similarity index 61% |
copy from third_party/WebKit/Source/core/imagebitmap/BUILD.gn |
copy to extensions/browser/api/sockets_tcp/BUILD.gn |
index 57a855ca9470acb07aba6a48b7f554ada7e66d52..ac0a3d35dc63555e89a344b928c749bae9f0f2aa 100644 |
--- a/third_party/WebKit/Source/core/imagebitmap/BUILD.gn |
+++ b/extensions/browser/api/sockets_tcp/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_tcp") { |
sources = [ |
- "ImageBitmapFactories.cpp", |
- "ImageBitmapFactories.h", |
- "ImageBitmapSource.cpp", |
- "ImageBitmapSource.h", |
+ "sockets_tcp_api.cc", |
+ "sockets_tcp_api.h", |
+ "tcp_socket_event_dispatcher.cc", |
+ "tcp_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", |
+ ] |
} |