OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//extensions/features/features.gni") |
| 6 |
| 7 assert(enable_extensions, |
| 8 "Cannot depend on extensions because enable_extensions=false.") |
| 9 |
5 source_set("sockets_tcp_server") { | 10 source_set("sockets_tcp_server") { |
6 sources = [ | 11 sources = [ |
7 "sockets_tcp_server_api.cc", | 12 "sockets_tcp_server_api.cc", |
8 "sockets_tcp_server_api.h", | 13 "sockets_tcp_server_api.h", |
9 "tcp_server_socket_event_dispatcher.cc", | 14 "tcp_server_socket_event_dispatcher.cc", |
10 "tcp_server_socket_event_dispatcher.h", | 15 "tcp_server_socket_event_dispatcher.h", |
11 ] | 16 ] |
12 | 17 |
13 deps = [ | 18 deps = [ |
14 "//content/public/browser", | 19 "//content/public/browser", |
15 "//content/public/common", | 20 "//content/public/common", |
16 "//extensions/common/api", | 21 "//extensions/common/api", |
17 ] | 22 ] |
18 | 23 |
19 public_deps = [ | 24 public_deps = [ |
20 "//extensions/browser:browser_sources", | 25 "//extensions/browser:browser_sources", |
21 ] | 26 ] |
22 } | 27 } |
OLD | NEW |