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("socket") { | 10 source_set("socket") { |
6 sources = [ | 11 sources = [ |
7 "socket.cc", | 12 "socket.cc", |
8 "socket.h", | 13 "socket.h", |
9 "socket_api.cc", | 14 "socket_api.cc", |
10 "socket_api.h", | 15 "socket_api.h", |
11 "tcp_socket.cc", | 16 "tcp_socket.cc", |
12 "tcp_socket.h", | 17 "tcp_socket.h", |
13 "tls_socket.cc", | 18 "tls_socket.cc", |
14 "tls_socket.h", | 19 "tls_socket.h", |
(...skipping 16 matching lines...) Expand all Loading... |
31 deps = [ | 36 deps = [ |
32 "//content/public/browser", | 37 "//content/public/browser", |
33 "//content/public/common", | 38 "//content/public/common", |
34 "//extensions/common/api", | 39 "//extensions/common/api", |
35 ] | 40 ] |
36 | 41 |
37 public_deps = [ | 42 public_deps = [ |
38 "//extensions/browser:browser_sources", | 43 "//extensions/browser:browser_sources", |
39 ] | 44 ] |
40 } | 45 } |
OLD | NEW |