OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 config("bluetooth_config") { | 7 config("bluetooth_config") { |
8 if (is_win) { | 8 if (is_win) { |
9 ldflags = [ | 9 ldflags = [ |
10 # Despite MSDN stating that Bthprops.dll contains the | 10 # Despite MSDN stating that Bthprops.dll contains the |
11 # symbols declared by bthprops.lib, they actually reside here: | 11 # symbols declared by bthprops.lib, they actually reside here: |
12 "/DELAYLOAD:Bthprops.cpl", | 12 "/DELAYLOAD:Bthprops.cpl", |
13 "/DELAYLOAD:setupapi.dll", | 13 "/DELAYLOAD:setupapi.dll", |
14 ] | 14 ] |
15 } | 15 } |
16 } | 16 } |
17 | 17 |
18 component("bluetooth") { | 18 component("bluetooth") { |
19 sources = [ | 19 sources = [ |
20 "bluetooth_adapter.cc", | 20 "bluetooth_adapter.cc", |
21 "bluetooth_adapter.h", | 21 "bluetooth_adapter.h", |
22 "bluetooth_adapter_chromeos.cc", | 22 "bluetooth_adapter_chromeos.cc", |
23 "bluetooth_adapter_chromeos.h", | 23 "bluetooth_adapter_chromeos.h", |
24 "bluetooth_adapter_factory.cc", | 24 "bluetooth_adapter_factory.cc", |
25 "bluetooth_adapter_factory.h", | 25 "bluetooth_adapter_factory.h", |
26 "bluetooth_adapter_mac.h", | 26 "bluetooth_adapter_mac.h", |
27 "bluetooth_adapter_mac.mm", | 27 "bluetooth_adapter_mac.mm", |
| 28 "bluetooth_adapter_profile_chromeos.cc", |
| 29 "bluetooth_adapter_profile_chromeos.h", |
28 "bluetooth_adapter_win.cc", | 30 "bluetooth_adapter_win.cc", |
29 "bluetooth_adapter_win.h", | 31 "bluetooth_adapter_win.h", |
30 "bluetooth_audio_sink.cc", | 32 "bluetooth_audio_sink.cc", |
31 "bluetooth_audio_sink.h", | 33 "bluetooth_audio_sink.h", |
32 "bluetooth_channel_mac.mm", | 34 "bluetooth_channel_mac.mm", |
33 "bluetooth_channel_mac.h", | 35 "bluetooth_channel_mac.h", |
34 "bluetooth_device.cc", | 36 "bluetooth_device.cc", |
35 "bluetooth_device.h", | 37 "bluetooth_device.h", |
36 "bluetooth_device_chromeos.cc", | 38 "bluetooth_device_chromeos.cc", |
37 "bluetooth_device_chromeos.h", | 39 "bluetooth_device_chromeos.h", |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "test/mock_bluetooth_gatt_service.h", | 200 "test/mock_bluetooth_gatt_service.h", |
199 "test/mock_bluetooth_socket.cc", | 201 "test/mock_bluetooth_socket.cc", |
200 "test/mock_bluetooth_socket.h", | 202 "test/mock_bluetooth_socket.h", |
201 ] | 203 ] |
202 | 204 |
203 deps = [ | 205 deps = [ |
204 ":bluetooth", | 206 ":bluetooth", |
205 "//testing/gmock", | 207 "//testing/gmock", |
206 ] | 208 ] |
207 } | 209 } |
OLD | NEW |