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 "/DELAYLOAD:BluetoothApis.dll", | 10 "/DELAYLOAD:BluetoothApis.dll", |
11 | 11 |
12 # Despite MSDN stating that Bthprops.dll contains the | 12 # Despite MSDN stating that Bthprops.dll contains the |
13 # symbols declared by bthprops.lib, they actually reside here: | 13 # symbols declared by bthprops.lib, they actually reside here: |
14 "/DELAYLOAD:Bthprops.cpl", | 14 "/DELAYLOAD:Bthprops.cpl", |
15 "/DELAYLOAD:setupapi.dll", | 15 "/DELAYLOAD:setupapi.dll", |
16 ] | 16 ] |
17 } | 17 } |
18 } | 18 } |
19 | 19 |
20 component("bluetooth") { | 20 component("bluetooth") { |
21 sources = [ | 21 sources = [ |
22 "bluetooth_adapter.cc", | 22 "bluetooth_adapter.cc", |
23 "bluetooth_adapter.h", | 23 "bluetooth_adapter.h", |
24 "bluetooth_adapter_chromeos.cc", | 24 "bluetooth_adapter_chromeos.cc", |
25 "bluetooth_adapter_chromeos.h", | 25 "bluetooth_adapter_chromeos.h", |
26 "bluetooth_adapter_factory.cc", | 26 "bluetooth_adapter_factory.cc", |
27 "bluetooth_adapter_factory.h", | 27 "bluetooth_adapter_factory.h", |
28 "bluetooth_adapter_mac.h", | 28 "bluetooth_adapter_mac.h", |
29 "bluetooth_adapter_mac.mm", | 29 "bluetooth_adapter_mac.mm", |
30 "bluetooth_adapter_profile_chromeos.cc", | |
31 "bluetooth_adapter_profile_chromeos.h", | |
32 "bluetooth_adapter_win.cc", | 30 "bluetooth_adapter_win.cc", |
33 "bluetooth_adapter_win.h", | 31 "bluetooth_adapter_win.h", |
34 "bluetooth_audio_sink.cc", | 32 "bluetooth_audio_sink.cc", |
35 "bluetooth_audio_sink.h", | 33 "bluetooth_audio_sink.h", |
36 "bluetooth_audio_sink_chromeos.cc", | 34 "bluetooth_audio_sink_chromeos.cc", |
37 "bluetooth_audio_sink_chromeos.h", | 35 "bluetooth_audio_sink_chromeos.h", |
38 "bluetooth_channel_mac.mm", | 36 "bluetooth_channel_mac.mm", |
39 "bluetooth_channel_mac.h", | 37 "bluetooth_channel_mac.h", |
40 "bluetooth_device.cc", | 38 "bluetooth_device.cc", |
41 "bluetooth_device.h", | 39 "bluetooth_device.h", |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 "test/mock_bluetooth_gatt_service.h", | 204 "test/mock_bluetooth_gatt_service.h", |
207 "test/mock_bluetooth_socket.cc", | 205 "test/mock_bluetooth_socket.cc", |
208 "test/mock_bluetooth_socket.h", | 206 "test/mock_bluetooth_socket.h", |
209 ] | 207 ] |
210 | 208 |
211 deps = [ | 209 deps = [ |
212 ":bluetooth", | 210 ":bluetooth", |
213 "//testing/gmock", | 211 "//testing/gmock", |
214 ] | 212 ] |
215 } | 213 } |
OLD | NEW |