1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # GN version: //device/bluetooth
12 'target_name': 'device_bluetooth',
13 'type': 'static_library',
15 '../../base/base.gyp:base',
16 '../../net/net.gyp:net',
17 '../../ui/base/ui_base.gyp:ui_base',
18 'bluetooth_strings.gyp:device_bluetooth_strings',
21 # Note: file list duplicated in GN build.
22 'bluetooth_adapter.cc',
23 'bluetooth_adapter.h',
24 'bluetooth_adapter_chromeos.cc',
25 'bluetooth_adapter_chromeos.h',
26 'bluetooth_adapter_factory.cc',
27 'bluetooth_adapter_factory.h',
28 'bluetooth_adapter_mac.h',
29 'bluetooth_adapter_mac.mm',
30 'bluetooth_adapter_win.cc',
31 'bluetooth_adapter_win.h',
32 'bluetooth_channel_mac.mm',
33 'bluetooth_channel_mac.h',
34 'bluetooth_device.cc',
36 'bluetooth_device_chromeos.cc',
37 'bluetooth_device_chromeos.h',
38 'bluetooth_device_mac.h',
39 'bluetooth_device_mac.mm',
40 'bluetooth_device_win.cc',
41 'bluetooth_device_win.h',
42 'bluetooth_discovery_manager_mac.mm',
43 'bluetooth_discovery_manager_mac.h',
44 'bluetooth_discovery_session.cc',
45 'bluetooth_discovery_session.h',
46 'bluetooth_gatt_characteristic.cc',
47 'bluetooth_gatt_characteristic.h',
48 'bluetooth_gatt_connection.cc',
49 'bluetooth_gatt_connection.h',
50 'bluetooth_gatt_connection_chromeos.cc',
51 'bluetooth_gatt_connection_chromeos.h',
52 'bluetooth_gatt_descriptor.cc',
53 'bluetooth_gatt_descriptor.h',
54 'bluetooth_gatt_notify_session.cc',
55 'bluetooth_gatt_notify_session.h',
56 'bluetooth_gatt_notify_session_chromeos.cc',
57 'bluetooth_gatt_notify_session_chromeos.h',
58 'bluetooth_gatt_service.cc',
59 'bluetooth_gatt_service.h',
60 'bluetooth_init_win.cc',
61 'bluetooth_init_win.h',
62 'bluetooth_l2cap_channel_mac.mm',
63 'bluetooth_l2cap_channel_mac.h',
64 'bluetooth_low_energy_defs_win.cc',
65 'bluetooth_low_energy_defs_win.h',
66 'bluetooth_low_energy_win.cc',
67 'bluetooth_low_energy_win.h',
68 'bluetooth_pairing_chromeos.cc',
69 'bluetooth_pairing_chromeos.h',
70 'bluetooth_remote_gatt_characteristic_chromeos.cc',
71 'bluetooth_remote_gatt_characteristic_chromeos.h',
72 'bluetooth_remote_gatt_descriptor_chromeos.cc',
73 'bluetooth_remote_gatt_descriptor_chromeos.h',
74 'bluetooth_remote_gatt_service_chromeos.cc',
75 'bluetooth_remote_gatt_service_chromeos.h',
76 'bluetooth_rfcomm_channel_mac.mm',
77 'bluetooth_rfcomm_channel_mac.h',
78 'bluetooth_service_record_win.cc',
79 'bluetooth_service_record_win.h',
80 'bluetooth_socket.cc',
82 'bluetooth_socket_chromeos.cc',
83 'bluetooth_socket_chromeos.h',
84 'bluetooth_socket_mac.h',
85 'bluetooth_socket_mac.mm',
86 'bluetooth_socket_net.cc',
87 'bluetooth_socket_net.h',
88 'bluetooth_socket_thread.cc',
89 'bluetooth_socket_thread.h',
90 'bluetooth_socket_win.cc',
91 'bluetooth_socket_win.h',
92 'bluetooth_task_manager_win.cc',
93 'bluetooth_task_manager_win.h',
100 '../../build/linux/system.gyp:dbus',
101 '../../chromeos/chromeos.gyp:chromeos',
102 '../../dbus/dbus.gyp:dbus',
104 'export_dependent_settings': [
105 '../../build/linux/system.gyp:dbus'
109 'all_dependent_settings': {
114 # Despite MSDN stating that Bthprops.dll contains the
115 # symbols declared by bthprops.lib, they actually reside here:
126 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
133 # GN version: //device/bluetooth:mocks
134 'target_name': 'device_bluetooth_mocks',
135 'type': 'static_library',
137 '../../testing/gmock.gyp:gmock',
144 # Note: file list duplicated in GN build.
145 'test/mock_bluetooth_adapter.cc',
146 'test/mock_bluetooth_adapter.h',
147 'test/mock_bluetooth_device.cc',
148 'test/mock_bluetooth_device.h',
149 'test/mock_bluetooth_discovery_session.cc',
150 'test/mock_bluetooth_discovery_session.h',
151 'test/mock_bluetooth_gatt_characteristic.cc',
152 'test/mock_bluetooth_gatt_characteristic.h',
153 'test/mock_bluetooth_gatt_connection.cc',
154 'test/mock_bluetooth_gatt_connection.h',
155 'test/mock_bluetooth_gatt_descriptor.cc',
156 'test/mock_bluetooth_gatt_descriptor.h',
157 'test/mock_bluetooth_gatt_notify_session.cc',
158 'test/mock_bluetooth_gatt_notify_session.h',
159 'test/mock_bluetooth_gatt_service.cc',
160 'test/mock_bluetooth_gatt_service.h',
161 'test/mock_bluetooth_socket.cc',
162 'test/mock_bluetooth_socket.h',