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("bluetooth_socket") { | 10 source_set("bluetooth_socket") { |
6 sources = [ | 11 sources = [ |
7 "bluetooth_api_socket.cc", | 12 "bluetooth_api_socket.cc", |
8 "bluetooth_api_socket.h", | 13 "bluetooth_api_socket.h", |
9 "bluetooth_socket_api.cc", | 14 "bluetooth_socket_api.cc", |
10 "bluetooth_socket_api.h", | 15 "bluetooth_socket_api.h", |
11 "bluetooth_socket_event_dispatcher.cc", | 16 "bluetooth_socket_event_dispatcher.cc", |
12 "bluetooth_socket_event_dispatcher.h", | 17 "bluetooth_socket_event_dispatcher.h", |
13 ] | 18 ] |
14 | 19 |
15 configs += [ | 20 configs += [ |
16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
17 "//build/config/compiler:no_size_t_to_int_warning", | 22 "//build/config/compiler:no_size_t_to_int_warning", |
18 ] | 23 ] |
19 | 24 |
20 deps = [ | 25 deps = [ |
21 "//extensions/common/api", | 26 "//extensions/common/api", |
22 ] | 27 ] |
23 | 28 |
24 public_deps = [ | 29 public_deps = [ |
25 "//extensions/browser:browser_sources", | 30 "//extensions/browser:browser_sources", |
26 ] | 31 ] |
27 } | 32 } |
OLD | NEW |