OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 14 matching lines...) Expand all Loading... |
25 'sources': [ | 25 'sources': [ |
26 # Note: file list duplicated in GN build. | 26 # Note: file list duplicated in GN build. |
27 'android/bluetooth_jni_registrar.cc', | 27 'android/bluetooth_jni_registrar.cc', |
28 'android/bluetooth_jni_registrar.h', | 28 'android/bluetooth_jni_registrar.h', |
29 'android/wrappers.cc', | 29 'android/wrappers.cc', |
30 'android/wrappers.h', | 30 'android/wrappers.h', |
31 'bluetooth_adapter.cc', | 31 'bluetooth_adapter.cc', |
32 'bluetooth_adapter.h', | 32 'bluetooth_adapter.h', |
33 'bluetooth_adapter_android.cc', | 33 'bluetooth_adapter_android.cc', |
34 'bluetooth_adapter_android.h', | 34 'bluetooth_adapter_android.h', |
35 'bluetooth_adapter_chromeos.cc', | |
36 'bluetooth_adapter_chromeos.h', | |
37 'bluetooth_adapter_factory.cc', | 35 'bluetooth_adapter_factory.cc', |
38 'bluetooth_adapter_factory.h', | 36 'bluetooth_adapter_factory.h', |
39 'bluetooth_adapter_mac.h', | 37 'bluetooth_adapter_mac.h', |
40 'bluetooth_adapter_mac.mm', | 38 'bluetooth_adapter_mac.mm', |
41 "bluetooth_adapter_profile_chromeos.cc", | |
42 "bluetooth_adapter_profile_chromeos.h", | |
43 'bluetooth_adapter_win.cc', | 39 'bluetooth_adapter_win.cc', |
44 'bluetooth_adapter_win.h', | 40 'bluetooth_adapter_win.h', |
45 'bluetooth_advertisement.cc', | 41 'bluetooth_advertisement.cc', |
46 'bluetooth_advertisement.h', | 42 'bluetooth_advertisement.h', |
47 'bluetooth_advertisement_chromeos.cc', | |
48 'bluetooth_advertisement_chromeos.h', | |
49 'bluetooth_audio_sink.cc', | 43 'bluetooth_audio_sink.cc', |
50 'bluetooth_audio_sink.h', | 44 'bluetooth_audio_sink.h', |
51 'bluetooth_audio_sink_chromeos.cc', | |
52 'bluetooth_audio_sink_chromeos.h', | |
53 'bluetooth_channel_mac.mm', | 45 'bluetooth_channel_mac.mm', |
54 'bluetooth_channel_mac.h', | 46 'bluetooth_channel_mac.h', |
55 'bluetooth_classic_device_mac.mm', | 47 'bluetooth_classic_device_mac.mm', |
56 'bluetooth_classic_device_mac.h', | 48 'bluetooth_classic_device_mac.h', |
57 'bluetooth_device.cc', | 49 'bluetooth_device.cc', |
58 'bluetooth_device.h', | 50 'bluetooth_device.h', |
59 'bluetooth_device_android.h', | 51 'bluetooth_device_android.h', |
60 'bluetooth_device_android.cc', | 52 'bluetooth_device_android.cc', |
61 'bluetooth_device_chromeos.cc', | |
62 'bluetooth_device_chromeos.h', | |
63 'bluetooth_device_mac.mm', | 53 'bluetooth_device_mac.mm', |
64 'bluetooth_device_mac.h', | 54 'bluetooth_device_mac.h', |
65 'bluetooth_device_win.cc', | 55 'bluetooth_device_win.cc', |
66 'bluetooth_device_win.h', | 56 'bluetooth_device_win.h', |
67 'bluetooth_discovery_filter.cc', | 57 'bluetooth_discovery_filter.cc', |
68 'bluetooth_discovery_filter.h', | 58 'bluetooth_discovery_filter.h', |
69 'bluetooth_discovery_manager_mac.mm', | 59 'bluetooth_discovery_manager_mac.mm', |
70 'bluetooth_discovery_manager_mac.h', | 60 'bluetooth_discovery_manager_mac.h', |
71 'bluetooth_discovery_session.cc', | 61 'bluetooth_discovery_session.cc', |
72 'bluetooth_discovery_session.h', | 62 'bluetooth_discovery_session.h', |
73 'bluetooth_discovery_session_outcome.h', | 63 'bluetooth_discovery_session_outcome.h', |
74 'bluetooth_gatt_characteristic.cc', | 64 'bluetooth_gatt_characteristic.cc', |
75 'bluetooth_gatt_characteristic.h', | 65 'bluetooth_gatt_characteristic.h', |
76 'bluetooth_gatt_connection.cc', | 66 'bluetooth_gatt_connection.cc', |
77 'bluetooth_gatt_connection.h', | 67 'bluetooth_gatt_connection.h', |
78 'bluetooth_gatt_connection_chromeos.cc', | |
79 'bluetooth_gatt_connection_chromeos.h', | |
80 'bluetooth_gatt_descriptor.cc', | 68 'bluetooth_gatt_descriptor.cc', |
81 'bluetooth_gatt_descriptor.h', | 69 'bluetooth_gatt_descriptor.h', |
82 'bluetooth_gatt_notify_session.cc', | 70 'bluetooth_gatt_notify_session.cc', |
83 'bluetooth_gatt_notify_session.h', | 71 'bluetooth_gatt_notify_session.h', |
84 'bluetooth_gatt_notify_session_chromeos.cc', | |
85 'bluetooth_gatt_notify_session_chromeos.h', | |
86 'bluetooth_gatt_service.cc', | 72 'bluetooth_gatt_service.cc', |
87 'bluetooth_gatt_service.h', | 73 'bluetooth_gatt_service.h', |
88 'bluetooth_init_win.cc', | 74 'bluetooth_init_win.cc', |
89 'bluetooth_init_win.h', | 75 'bluetooth_init_win.h', |
90 'bluetooth_l2cap_channel_mac.mm', | 76 'bluetooth_l2cap_channel_mac.mm', |
91 'bluetooth_l2cap_channel_mac.h', | 77 'bluetooth_l2cap_channel_mac.h', |
92 'bluetooth_low_energy_central_manager_delegate.mm', | 78 'bluetooth_low_energy_central_manager_delegate.mm', |
93 'bluetooth_low_energy_central_manager_delegate.h', | 79 'bluetooth_low_energy_central_manager_delegate.h', |
94 'bluetooth_low_energy_defs_win.cc', | 80 'bluetooth_low_energy_defs_win.cc', |
95 'bluetooth_low_energy_defs_win.h', | 81 'bluetooth_low_energy_defs_win.h', |
96 'bluetooth_low_energy_device_mac.h', | 82 'bluetooth_low_energy_device_mac.h', |
97 'bluetooth_low_energy_device_mac.mm', | 83 'bluetooth_low_energy_device_mac.mm', |
98 'bluetooth_low_energy_discovery_manager_mac.h', | 84 'bluetooth_low_energy_discovery_manager_mac.h', |
99 'bluetooth_low_energy_discovery_manager_mac.mm', | 85 'bluetooth_low_energy_discovery_manager_mac.mm', |
100 'bluetooth_low_energy_win.cc', | 86 'bluetooth_low_energy_win.cc', |
101 'bluetooth_low_energy_win.h', | 87 'bluetooth_low_energy_win.h', |
102 'bluetooth_pairing_chromeos.cc', | |
103 'bluetooth_pairing_chromeos.h', | |
104 'bluetooth_remote_gatt_characteristic_chromeos.cc', | |
105 'bluetooth_remote_gatt_characteristic_chromeos.h', | |
106 'bluetooth_remote_gatt_descriptor_chromeos.cc', | |
107 'bluetooth_remote_gatt_descriptor_chromeos.h', | |
108 'bluetooth_remote_gatt_service_chromeos.cc', | |
109 'bluetooth_remote_gatt_service_chromeos.h', | |
110 'bluetooth_rfcomm_channel_mac.mm', | 88 'bluetooth_rfcomm_channel_mac.mm', |
111 'bluetooth_rfcomm_channel_mac.h', | 89 'bluetooth_rfcomm_channel_mac.h', |
112 'bluetooth_service_record_win.cc', | 90 'bluetooth_service_record_win.cc', |
113 'bluetooth_service_record_win.h', | 91 'bluetooth_service_record_win.h', |
114 'bluetooth_socket.cc', | 92 'bluetooth_socket.cc', |
115 'bluetooth_socket.h', | 93 'bluetooth_socket.h', |
116 'bluetooth_socket_chromeos.cc', | |
117 'bluetooth_socket_chromeos.h', | |
118 'bluetooth_socket_mac.h', | 94 'bluetooth_socket_mac.h', |
119 'bluetooth_socket_mac.mm', | 95 'bluetooth_socket_mac.mm', |
120 'bluetooth_socket_net.cc', | 96 'bluetooth_socket_net.cc', |
121 'bluetooth_socket_net.h', | 97 'bluetooth_socket_net.h', |
122 'bluetooth_socket_thread.cc', | 98 'bluetooth_socket_thread.cc', |
123 'bluetooth_socket_thread.h', | 99 'bluetooth_socket_thread.h', |
124 'bluetooth_socket_win.cc', | 100 'bluetooth_socket_win.cc', |
125 'bluetooth_socket_win.h', | 101 'bluetooth_socket_win.h', |
126 'bluetooth_task_manager_win.cc', | 102 'bluetooth_task_manager_win.cc', |
127 'bluetooth_task_manager_win.h', | 103 'bluetooth_task_manager_win.h', |
128 'bluetooth_uuid.cc', | 104 'bluetooth_uuid.cc', |
129 'bluetooth_uuid.h', | 105 'bluetooth_uuid.h', |
130 ], | 106 ], |
131 'conditions': [ | 107 'conditions': [ |
132 # This block will also build for Linux once we write the linux | 108 # This block will also build for Linux once we write the linux |
133 # implementation of BluezDbusManager. | 109 # implementation of BluezDbusManager. |
134 ['chromeos==1', { | 110 ['chromeos==1 or OS=="linux"', { |
135 'defines': [ | 111 'defines': [ |
136 'DEVICE_BLUETOOTH_IMPLEMENTATION', | 112 'DEVICE_BLUETOOTH_IMPLEMENTATION', |
137 ], | 113 ], |
138 'sources': [ | 114 'sources': [ |
| 115 'bluetooth_adapter_bluez.cc', |
| 116 'bluetooth_adapter_bluez.h', |
| 117 'bluetooth_adapter_profile_bluez.cc', |
| 118 'bluetooth_adapter_profile_bluez.h', |
| 119 'bluetooth_advertisement_bluez.cc', |
| 120 'bluetooth_advertisement_bluez.h', |
| 121 'bluetooth_audio_sink_bluez.cc', |
| 122 'bluetooth_audio_sink_bluez.h', |
| 123 'bluetooth_device_bluez.cc', |
| 124 'bluetooth_device_bluez.h', |
| 125 'bluetooth_gatt_connection_bluez.cc', |
| 126 'bluetooth_gatt_connection_bluez.h', |
| 127 'bluetooth_gatt_notify_session_bluez.cc', |
| 128 'bluetooth_gatt_notify_session_bluez.h', |
| 129 'bluetooth_pairing_bluez.cc', |
| 130 'bluetooth_pairing_bluez.h', |
| 131 'bluetooth_remote_gatt_characteristic_bluez.cc', |
| 132 'bluetooth_remote_gatt_characteristic_bluez.h', |
| 133 'bluetooth_remote_gatt_descriptor_bluez.cc', |
| 134 'bluetooth_remote_gatt_descriptor_bluez.h', |
| 135 'bluetooth_remote_gatt_service_bluez.cc', |
| 136 'bluetooth_remote_gatt_service_bluez.h', |
| 137 'bluetooth_socket_bluez.cc', |
| 138 'bluetooth_socket_bluez.h', |
139 'dbus/bluetooth_adapter_client.cc', | 139 'dbus/bluetooth_adapter_client.cc', |
140 'dbus/bluetooth_adapter_client.h', | 140 'dbus/bluetooth_adapter_client.h', |
141 'dbus/bluetooth_le_advertising_manager_client.cc', | 141 'dbus/bluetooth_le_advertising_manager_client.cc', |
142 'dbus/bluetooth_le_advertising_manager_client.h', | 142 'dbus/bluetooth_le_advertising_manager_client.h', |
143 'dbus/bluetooth_le_advertisement_service_provider.cc', | 143 'dbus/bluetooth_le_advertisement_service_provider.cc', |
144 'dbus/bluetooth_le_advertisement_service_provider.h', | 144 'dbus/bluetooth_le_advertisement_service_provider.h', |
145 'dbus/bluetooth_agent_manager_client.cc', | 145 'dbus/bluetooth_agent_manager_client.cc', |
146 'dbus/bluetooth_agent_manager_client.h', | 146 'dbus/bluetooth_agent_manager_client.h', |
147 'dbus/bluetooth_agent_service_provider.cc', | 147 'dbus/bluetooth_agent_service_provider.cc', |
148 'dbus/bluetooth_agent_service_provider.h', | 148 'dbus/bluetooth_agent_service_provider.h', |
(...skipping 23 matching lines...) Expand all Loading... |
172 'dbus/bluetooth_media_endpoint_service_provider.h', | 172 'dbus/bluetooth_media_endpoint_service_provider.h', |
173 'dbus/bluetooth_media_transport_client.cc', | 173 'dbus/bluetooth_media_transport_client.cc', |
174 'dbus/bluetooth_media_transport_client.h', | 174 'dbus/bluetooth_media_transport_client.h', |
175 'dbus/bluetooth_profile_manager_client.cc', | 175 'dbus/bluetooth_profile_manager_client.cc', |
176 'dbus/bluetooth_profile_manager_client.h', | 176 'dbus/bluetooth_profile_manager_client.h', |
177 'dbus/bluetooth_profile_service_provider.cc', | 177 'dbus/bluetooth_profile_service_provider.cc', |
178 'dbus/bluetooth_profile_service_provider.h', | 178 'dbus/bluetooth_profile_service_provider.h', |
179 'dbus/bluez_dbus_client.h', | 179 'dbus/bluez_dbus_client.h', |
180 'dbus/bluez_dbus_manager.cc', | 180 'dbus/bluez_dbus_manager.cc', |
181 'dbus/bluez_dbus_manager.h', | 181 'dbus/bluez_dbus_manager.h', |
| 182 'dbus/dbus_thread_manager_linux.cc', |
| 183 'dbus/dbus_thread_manager_linux.h', |
182 'dbus/fake_bluetooth_adapter_client.cc', | 184 'dbus/fake_bluetooth_adapter_client.cc', |
183 'dbus/fake_bluetooth_adapter_client.h', | 185 'dbus/fake_bluetooth_adapter_client.h', |
184 'dbus/fake_bluetooth_le_advertising_manager_client.cc', | 186 'dbus/fake_bluetooth_le_advertising_manager_client.cc', |
185 'dbus/fake_bluetooth_le_advertising_manager_client.h', | 187 'dbus/fake_bluetooth_le_advertising_manager_client.h', |
186 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', | 188 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', |
187 'dbus/fake_bluetooth_le_advertisement_service_provider.h', | 189 'dbus/fake_bluetooth_le_advertisement_service_provider.h', |
188 'dbus/fake_bluetooth_agent_manager_client.cc', | 190 'dbus/fake_bluetooth_agent_manager_client.cc', |
189 'dbus/fake_bluetooth_agent_manager_client.h', | 191 'dbus/fake_bluetooth_agent_manager_client.h', |
190 'dbus/fake_bluetooth_agent_service_provider.cc', | 192 'dbus/fake_bluetooth_agent_service_provider.cc', |
191 'dbus/fake_bluetooth_agent_service_provider.h', | 193 'dbus/fake_bluetooth_agent_service_provider.h', |
(...skipping 19 matching lines...) Expand all Loading... |
211 'dbus/fake_bluetooth_media_client.h', | 213 'dbus/fake_bluetooth_media_client.h', |
212 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', | 214 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', |
213 'dbus/fake_bluetooth_media_endpoint_service_provider.h', | 215 'dbus/fake_bluetooth_media_endpoint_service_provider.h', |
214 'dbus/fake_bluetooth_media_transport_client.cc', | 216 'dbus/fake_bluetooth_media_transport_client.cc', |
215 'dbus/fake_bluetooth_media_transport_client.h', | 217 'dbus/fake_bluetooth_media_transport_client.h', |
216 'dbus/fake_bluetooth_profile_manager_client.cc', | 218 'dbus/fake_bluetooth_profile_manager_client.cc', |
217 'dbus/fake_bluetooth_profile_manager_client.h', | 219 'dbus/fake_bluetooth_profile_manager_client.h', |
218 'dbus/fake_bluetooth_profile_service_provider.cc', | 220 'dbus/fake_bluetooth_profile_service_provider.cc', |
219 'dbus/fake_bluetooth_profile_service_provider.h', | 221 'dbus/fake_bluetooth_profile_service_provider.h', |
220 ], | 222 ], |
221 }], | |
222 ['chromeos==1', { | |
223 'dependencies': [ | 223 'dependencies': [ |
224 '../../build/linux/system.gyp:dbus', | 224 '../../build/linux/system.gyp:dbus', |
225 '../../chromeos/chromeos.gyp:chromeos', | |
226 '../../dbus/dbus.gyp:dbus', | 225 '../../dbus/dbus.gyp:dbus', |
227 ], | 226 ], |
228 'export_dependent_settings': [ | 227 'export_dependent_settings': [ |
229 '../../build/linux/system.gyp:dbus' | 228 '../../build/linux/system.gyp:dbus' |
230 ] | 229 ] |
231 }], | 230 }], |
| 231 ['chromeos==1', { |
| 232 'dependencies': [ |
| 233 '../../chromeos/chromeos.gyp:chromeos', |
| 234 ], |
| 235 }], |
232 ['OS == "android"', { | 236 ['OS == "android"', { |
233 'dependencies': [ | 237 'dependencies': [ |
234 'device_bluetooth_java', | 238 'device_bluetooth_java', |
235 'device_bluetooth_jni_headers', | 239 'device_bluetooth_jni_headers', |
236 ], | 240 ], |
237 }], | 241 }], |
238 ['OS=="win"', { | 242 ['OS=="win"', { |
239 # The following two blocks are duplicated. They apply to static lib | 243 # The following two blocks are duplicated. They apply to static lib |
240 # and shared lib configurations respectively. | 244 # and shared lib configurations respectively. |
241 'all_dependent_settings': { # For static lib, apply to dependents. | 245 'all_dependent_settings': { # For static lib, apply to dependents. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 ], | 363 ], |
360 'variables': { | 364 'variables': { |
361 'java_in_dir': '../../device/bluetooth/android/java', | 365 'java_in_dir': '../../device/bluetooth/android/java', |
362 }, | 366 }, |
363 'includes': [ '../../build/java.gypi' ], | 367 'includes': [ '../../build/java.gypi' ], |
364 }, | 368 }, |
365 ], | 369 ], |
366 }], | 370 }], |
367 ], | 371 ], |
368 } | 372 } |
OLD | NEW |