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") { | 10 source_set("bluetooth") { |
6 sources = [ | 11 sources = [ |
7 "bluetooth_api.cc", | 12 "bluetooth_api.cc", |
8 "bluetooth_api.h", | 13 "bluetooth_api.h", |
9 "bluetooth_api_pairing_delegate.cc", | 14 "bluetooth_api_pairing_delegate.cc", |
10 "bluetooth_api_pairing_delegate.h", | 15 "bluetooth_api_pairing_delegate.h", |
11 "bluetooth_api_utils.cc", | 16 "bluetooth_api_utils.cc", |
12 "bluetooth_api_utils.h", | 17 "bluetooth_api_utils.h", |
13 "bluetooth_event_router.cc", | 18 "bluetooth_event_router.cc", |
14 "bluetooth_event_router.h", | 19 "bluetooth_event_router.h", |
15 "bluetooth_extension_function.cc", | 20 "bluetooth_extension_function.cc", |
16 "bluetooth_extension_function.h", | 21 "bluetooth_extension_function.h", |
17 "bluetooth_private_api.cc", | 22 "bluetooth_private_api.cc", |
18 "bluetooth_private_api.h", | 23 "bluetooth_private_api.h", |
19 ] | 24 ] |
20 | 25 |
21 deps = [ | 26 deps = [ |
22 "//content/public/browser", | 27 "//content/public/browser", |
23 "//extensions/common/api", | 28 "//extensions/common/api", |
24 ] | 29 ] |
25 | 30 |
26 public_deps = [ | 31 public_deps = [ |
27 "//extensions/browser:browser_sources", | 32 "//extensions/browser:browser_sources", |
28 ] | 33 ] |
29 } | 34 } |
OLD | NEW |