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': '<(component)',
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 'DEVICE_BLUETOOTH_IMPLEMENTATION',
24 # Note: file list duplicated in GN build.
25 'bluetooth_adapter.cc',
26 'bluetooth_adapter.h',
27 'bluetooth_adapter_chromeos.cc',
28 'bluetooth_adapter_chromeos.h',
29 'bluetooth_adapter_factory.cc',
30 'bluetooth_adapter_factory.h',
31 'bluetooth_adapter_mac.h',
32 'bluetooth_adapter_mac.mm',
33 "bluetooth_adapter_profile_chromeos.cc",
34 "bluetooth_adapter_profile_chromeos.h",
35 'bluetooth_adapter_win.cc',
36 'bluetooth_adapter_win.h',
37 'bluetooth_audio_sink.cc',
38 'bluetooth_audio_sink.h',
39 'bluetooth_audio_sink_chromeos.cc',
40 'bluetooth_audio_sink_chromeos.h',
41 'bluetooth_channel_mac.mm',
42 'bluetooth_channel_mac.h',
43 'bluetooth_device.cc',
45 'bluetooth_device_chromeos.cc',
46 'bluetooth_device_chromeos.h',
47 'bluetooth_device_mac.h',
48 'bluetooth_device_mac.mm',
49 'bluetooth_device_win.cc',
50 'bluetooth_device_win.h',
51 'bluetooth_discovery_manager_mac.mm',
52 'bluetooth_discovery_manager_mac.h',
53 'bluetooth_discovery_session.cc',
54 'bluetooth_discovery_session.h',
55 'bluetooth_gatt_characteristic.cc',
56 'bluetooth_gatt_characteristic.h',
57 'bluetooth_gatt_connection.cc',
58 'bluetooth_gatt_connection.h',
59 'bluetooth_gatt_connection_chromeos.cc',
60 'bluetooth_gatt_connection_chromeos.h',
61 'bluetooth_gatt_descriptor.cc',
62 'bluetooth_gatt_descriptor.h',
63 'bluetooth_gatt_notify_session.cc',
64 'bluetooth_gatt_notify_session.h',
65 'bluetooth_gatt_notify_session_chromeos.cc',
66 'bluetooth_gatt_notify_session_chromeos.h',
67 'bluetooth_gatt_service.cc',
68 'bluetooth_gatt_service.h',
69 'bluetooth_init_win.cc',
70 'bluetooth_init_win.h',
71 'bluetooth_l2cap_channel_mac.mm',
72 'bluetooth_l2cap_channel_mac.h',
73 'bluetooth_low_energy_defs_win.cc',
74 'bluetooth_low_energy_defs_win.h',
75 'bluetooth_low_energy_device_mac.h',
76 'bluetooth_low_energy_device_mac.mm',
77 'bluetooth_low_energy_discovery_manager_mac.h',
78 'bluetooth_low_energy_discovery_manager_mac.mm',
79 'bluetooth_low_energy_win.cc',
80 'bluetooth_low_energy_win.h',
81 'bluetooth_pairing_chromeos.cc',
82 'bluetooth_pairing_chromeos.h',
83 'bluetooth_remote_gatt_characteristic_chromeos.cc',
84 'bluetooth_remote_gatt_characteristic_chromeos.h',
85 'bluetooth_remote_gatt_descriptor_chromeos.cc',
86 'bluetooth_remote_gatt_descriptor_chromeos.h',
87 'bluetooth_remote_gatt_service_chromeos.cc',
88 'bluetooth_remote_gatt_service_chromeos.h',
89 'bluetooth_rfcomm_channel_mac.mm',
90 'bluetooth_rfcomm_channel_mac.h',
91 'bluetooth_service_record_win.cc',
92 'bluetooth_service_record_win.h',
93 'bluetooth_socket.cc',
95 'bluetooth_socket_chromeos.cc',
96 'bluetooth_socket_chromeos.h',
97 'bluetooth_socket_mac.h',
98 'bluetooth_socket_mac.mm',
99 'bluetooth_socket_net.cc',
100 'bluetooth_socket_net.h',
101 'bluetooth_socket_thread.cc',
102 'bluetooth_socket_thread.h',
103 'bluetooth_socket_win.cc',
104 'bluetooth_socket_win.h',
105 'bluetooth_task_manager_win.cc',
106 'bluetooth_task_manager_win.h',
113 '../../build/linux/system.gyp:dbus',
114 '../../chromeos/chromeos.gyp:chromeos',
115 '../../dbus/dbus.gyp:dbus',
117 'export_dependent_settings': [
118 '../../build/linux/system.gyp:dbus'
122 # The following two blocks are duplicated. They apply to static lib
123 # and shared lib configurations respectively.
124 'all_dependent_settings': { # For static lib, apply to dependents.
129 # Despite MSDN stating that Bthprops.dll contains the
130 # symbols declared by bthprops.lib, they actually reside here:
137 'msvs_settings': { # For shared lib, apply to self.
141 # Despite MSDN stating that Bthprops.dll contains the
142 # symbols declared by bthprops.lib, they actually reside here:
152 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
159 # GN version: //device/bluetooth:mocks
160 'target_name': 'device_bluetooth_mocks',
161 'type': 'static_library',
163 '../../testing/gmock.gyp:gmock',
170 # Note: file list duplicated in GN build.
171 'test/mock_bluetooth_adapter.cc',
172 'test/mock_bluetooth_adapter.h',
173 'test/mock_bluetooth_device.cc',
174 'test/mock_bluetooth_device.h',
175 'test/mock_bluetooth_discovery_session.cc',
176 'test/mock_bluetooth_discovery_session.h',
177 'test/mock_bluetooth_gatt_characteristic.cc',
178 'test/mock_bluetooth_gatt_characteristic.h',
179 'test/mock_bluetooth_gatt_connection.cc',
180 'test/mock_bluetooth_gatt_connection.h',
181 'test/mock_bluetooth_gatt_descriptor.cc',
182 'test/mock_bluetooth_gatt_descriptor.h',
183 'test/mock_bluetooth_gatt_notify_session.cc',
184 'test/mock_bluetooth_gatt_notify_session.h',
185 'test/mock_bluetooth_gatt_service.cc',
186 'test/mock_bluetooth_gatt_service.h',
187 'test/mock_bluetooth_socket.cc',
188 'test/mock_bluetooth_socket.h',