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 static_library("bluetooth") { | 18 static_library("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_win.cc", | 28 "bluetooth_adapter_win.cc", |
29 "bluetooth_adapter_win.h", | 29 "bluetooth_adapter_win.h", |
| 30 "bluetooth_audio_sink.cc", |
| 31 "bluetooth_audio_sink.h", |
30 "bluetooth_channel_mac.mm", | 32 "bluetooth_channel_mac.mm", |
31 "bluetooth_channel_mac.h", | 33 "bluetooth_channel_mac.h", |
32 "bluetooth_device.cc", | 34 "bluetooth_device.cc", |
33 "bluetooth_device.h", | 35 "bluetooth_device.h", |
34 "bluetooth_device_chromeos.cc", | 36 "bluetooth_device_chromeos.cc", |
35 "bluetooth_device_chromeos.h", | 37 "bluetooth_device_chromeos.h", |
36 "bluetooth_device_mac.h", | 38 "bluetooth_device_mac.h", |
37 "bluetooth_device_mac.mm", | 39 "bluetooth_device_mac.mm", |
38 "bluetooth_device_win.cc", | 40 "bluetooth_device_win.cc", |
39 "bluetooth_device_win.h", | 41 "bluetooth_device_win.h", |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 "test/mock_bluetooth_gatt_service.h", | 196 "test/mock_bluetooth_gatt_service.h", |
195 "test/mock_bluetooth_socket.cc", | 197 "test/mock_bluetooth_socket.cc", |
196 "test/mock_bluetooth_socket.h", | 198 "test/mock_bluetooth_socket.h", |
197 ] | 199 ] |
198 | 200 |
199 deps = [ | 201 deps = [ |
200 ":bluetooth", | 202 ":bluetooth", |
201 "//testing/gmock", | 203 "//testing/gmock", |
202 ] | 204 ] |
203 } | 205 } |
OLD | NEW |