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_android.cc', | 72 'bluetooth_gatt_notify_session_android.cc', |
85 'bluetooth_gatt_notify_session_android.h', | 73 'bluetooth_gatt_notify_session_android.h', |
86 'bluetooth_gatt_notify_session_chromeos.cc', | |
87 'bluetooth_gatt_notify_session_chromeos.h', | |
88 'bluetooth_gatt_service.cc', | 74 'bluetooth_gatt_service.cc', |
89 'bluetooth_gatt_service.h', | 75 'bluetooth_gatt_service.h', |
90 'bluetooth_init_win.cc', | 76 'bluetooth_init_win.cc', |
91 'bluetooth_init_win.h', | 77 'bluetooth_init_win.h', |
92 'bluetooth_l2cap_channel_mac.mm', | 78 'bluetooth_l2cap_channel_mac.mm', |
93 'bluetooth_l2cap_channel_mac.h', | 79 'bluetooth_l2cap_channel_mac.h', |
94 'bluetooth_low_energy_central_manager_delegate.mm', | 80 'bluetooth_low_energy_central_manager_delegate.mm', |
95 'bluetooth_low_energy_central_manager_delegate.h', | 81 'bluetooth_low_energy_central_manager_delegate.h', |
96 'bluetooth_low_energy_defs_win.cc', | 82 'bluetooth_low_energy_defs_win.cc', |
97 'bluetooth_low_energy_defs_win.h', | 83 'bluetooth_low_energy_defs_win.h', |
98 'bluetooth_low_energy_device_mac.h', | 84 'bluetooth_low_energy_device_mac.h', |
99 'bluetooth_low_energy_device_mac.mm', | 85 'bluetooth_low_energy_device_mac.mm', |
100 'bluetooth_low_energy_discovery_manager_mac.h', | 86 'bluetooth_low_energy_discovery_manager_mac.h', |
101 'bluetooth_low_energy_discovery_manager_mac.mm', | 87 'bluetooth_low_energy_discovery_manager_mac.mm', |
102 'bluetooth_low_energy_win.cc', | 88 'bluetooth_low_energy_win.cc', |
103 'bluetooth_low_energy_win.h', | 89 'bluetooth_low_energy_win.h', |
104 'bluetooth_pairing_chromeos.cc', | |
105 'bluetooth_pairing_chromeos.h', | |
106 'bluetooth_remote_gatt_characteristic_android.cc', | 90 'bluetooth_remote_gatt_characteristic_android.cc', |
107 'bluetooth_remote_gatt_characteristic_android.h', | 91 'bluetooth_remote_gatt_characteristic_android.h', |
108 'bluetooth_remote_gatt_characteristic_chromeos.cc', | |
109 'bluetooth_remote_gatt_characteristic_chromeos.h', | |
110 'bluetooth_remote_gatt_descriptor_chromeos.cc', | |
111 'bluetooth_remote_gatt_descriptor_chromeos.h', | |
112 'bluetooth_remote_gatt_service_android.cc', | 92 'bluetooth_remote_gatt_service_android.cc', |
113 'bluetooth_remote_gatt_service_android.h', | 93 'bluetooth_remote_gatt_service_android.h', |
114 'bluetooth_remote_gatt_service_chromeos.cc', | |
115 'bluetooth_remote_gatt_service_chromeos.h', | |
116 'bluetooth_rfcomm_channel_mac.mm', | 94 'bluetooth_rfcomm_channel_mac.mm', |
117 'bluetooth_rfcomm_channel_mac.h', | 95 'bluetooth_rfcomm_channel_mac.h', |
118 'bluetooth_service_record_win.cc', | 96 'bluetooth_service_record_win.cc', |
119 'bluetooth_service_record_win.h', | 97 'bluetooth_service_record_win.h', |
120 'bluetooth_socket.cc', | 98 'bluetooth_socket.cc', |
121 'bluetooth_socket.h', | 99 'bluetooth_socket.h', |
122 'bluetooth_socket_chromeos.cc', | |
123 'bluetooth_socket_chromeos.h', | |
124 'bluetooth_socket_mac.h', | 100 'bluetooth_socket_mac.h', |
125 'bluetooth_socket_mac.mm', | 101 'bluetooth_socket_mac.mm', |
126 'bluetooth_socket_net.cc', | 102 'bluetooth_socket_net.cc', |
127 'bluetooth_socket_net.h', | 103 'bluetooth_socket_net.h', |
128 'bluetooth_socket_thread.cc', | 104 'bluetooth_socket_thread.cc', |
129 'bluetooth_socket_thread.h', | 105 'bluetooth_socket_thread.h', |
130 'bluetooth_socket_win.cc', | 106 'bluetooth_socket_win.cc', |
131 'bluetooth_socket_win.h', | 107 'bluetooth_socket_win.h', |
132 'bluetooth_task_manager_win.cc', | 108 'bluetooth_task_manager_win.cc', |
133 'bluetooth_task_manager_win.h', | 109 'bluetooth_task_manager_win.h', |
134 'bluetooth_uuid.cc', | 110 'bluetooth_uuid.cc', |
135 'bluetooth_uuid.h', | 111 'bluetooth_uuid.h', |
136 ], | 112 ], |
137 'conditions': [ | 113 'conditions': [ |
138 # This block will also build for Linux once we write the linux | 114 # This block will also build for Linux once we write the linux |
139 # implementation of BluezDbusManager. | 115 # implementation of BluezDbusManager. |
140 ['chromeos==1', { | 116 ['chromeos==1 or OS=="linux"', { |
141 'defines': [ | 117 'defines': [ |
142 'DEVICE_BLUETOOTH_IMPLEMENTATION', | 118 'DEVICE_BLUETOOTH_IMPLEMENTATION', |
143 ], | 119 ], |
144 'sources': [ | 120 'sources': [ |
| 121 'bluetooth_adapter_bluez.cc', |
| 122 'bluetooth_adapter_bluez.h', |
| 123 'bluetooth_adapter_profile_bluez.cc', |
| 124 'bluetooth_adapter_profile_bluez.h', |
| 125 'bluetooth_advertisement_bluez.cc', |
| 126 'bluetooth_advertisement_bluez.h', |
| 127 'bluetooth_audio_sink_bluez.cc', |
| 128 'bluetooth_audio_sink_bluez.h', |
| 129 'bluetooth_device_bluez.cc', |
| 130 'bluetooth_device_bluez.h', |
| 131 'bluetooth_gatt_connection_bluez.cc', |
| 132 'bluetooth_gatt_connection_bluez.h', |
| 133 'bluetooth_gatt_notify_session_bluez.cc', |
| 134 'bluetooth_gatt_notify_session_bluez.h', |
| 135 'bluetooth_pairing_bluez.cc', |
| 136 'bluetooth_pairing_bluez.h', |
| 137 'bluetooth_remote_gatt_characteristic_bluez.cc', |
| 138 'bluetooth_remote_gatt_characteristic_bluez.h', |
| 139 'bluetooth_remote_gatt_descriptor_bluez.cc', |
| 140 'bluetooth_remote_gatt_descriptor_bluez.h', |
| 141 'bluetooth_remote_gatt_service_bluez.cc', |
| 142 'bluetooth_remote_gatt_service_bluez.h', |
| 143 'bluetooth_socket_bluez.cc', |
| 144 'bluetooth_socket_bluez.h', |
145 'dbus/bluetooth_adapter_client.cc', | 145 'dbus/bluetooth_adapter_client.cc', |
146 'dbus/bluetooth_adapter_client.h', | 146 'dbus/bluetooth_adapter_client.h', |
147 'dbus/bluetooth_le_advertising_manager_client.cc', | 147 'dbus/bluetooth_le_advertising_manager_client.cc', |
148 'dbus/bluetooth_le_advertising_manager_client.h', | 148 'dbus/bluetooth_le_advertising_manager_client.h', |
149 'dbus/bluetooth_le_advertisement_service_provider.cc', | 149 'dbus/bluetooth_le_advertisement_service_provider.cc', |
150 'dbus/bluetooth_le_advertisement_service_provider.h', | 150 'dbus/bluetooth_le_advertisement_service_provider.h', |
151 'dbus/bluetooth_agent_manager_client.cc', | 151 'dbus/bluetooth_agent_manager_client.cc', |
152 'dbus/bluetooth_agent_manager_client.h', | 152 'dbus/bluetooth_agent_manager_client.h', |
153 'dbus/bluetooth_agent_service_provider.cc', | 153 'dbus/bluetooth_agent_service_provider.cc', |
154 'dbus/bluetooth_agent_service_provider.h', | 154 'dbus/bluetooth_agent_service_provider.h', |
(...skipping 23 matching lines...) Expand all Loading... |
178 'dbus/bluetooth_media_endpoint_service_provider.h', | 178 'dbus/bluetooth_media_endpoint_service_provider.h', |
179 'dbus/bluetooth_media_transport_client.cc', | 179 'dbus/bluetooth_media_transport_client.cc', |
180 'dbus/bluetooth_media_transport_client.h', | 180 'dbus/bluetooth_media_transport_client.h', |
181 'dbus/bluetooth_profile_manager_client.cc', | 181 'dbus/bluetooth_profile_manager_client.cc', |
182 'dbus/bluetooth_profile_manager_client.h', | 182 'dbus/bluetooth_profile_manager_client.h', |
183 'dbus/bluetooth_profile_service_provider.cc', | 183 'dbus/bluetooth_profile_service_provider.cc', |
184 'dbus/bluetooth_profile_service_provider.h', | 184 'dbus/bluetooth_profile_service_provider.h', |
185 'dbus/bluez_dbus_client.h', | 185 'dbus/bluez_dbus_client.h', |
186 'dbus/bluez_dbus_manager.cc', | 186 'dbus/bluez_dbus_manager.cc', |
187 'dbus/bluez_dbus_manager.h', | 187 'dbus/bluez_dbus_manager.h', |
| 188 'dbus/dbus_thread_manager_linux.cc', |
| 189 'dbus/dbus_thread_manager_linux.h', |
188 'dbus/fake_bluetooth_adapter_client.cc', | 190 'dbus/fake_bluetooth_adapter_client.cc', |
189 'dbus/fake_bluetooth_adapter_client.h', | 191 'dbus/fake_bluetooth_adapter_client.h', |
190 'dbus/fake_bluetooth_le_advertising_manager_client.cc', | 192 'dbus/fake_bluetooth_le_advertising_manager_client.cc', |
191 'dbus/fake_bluetooth_le_advertising_manager_client.h', | 193 'dbus/fake_bluetooth_le_advertising_manager_client.h', |
192 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', | 194 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', |
193 'dbus/fake_bluetooth_le_advertisement_service_provider.h', | 195 'dbus/fake_bluetooth_le_advertisement_service_provider.h', |
194 'dbus/fake_bluetooth_agent_manager_client.cc', | 196 'dbus/fake_bluetooth_agent_manager_client.cc', |
195 'dbus/fake_bluetooth_agent_manager_client.h', | 197 'dbus/fake_bluetooth_agent_manager_client.h', |
196 'dbus/fake_bluetooth_agent_service_provider.cc', | 198 'dbus/fake_bluetooth_agent_service_provider.cc', |
197 'dbus/fake_bluetooth_agent_service_provider.h', | 199 'dbus/fake_bluetooth_agent_service_provider.h', |
(...skipping 19 matching lines...) Expand all Loading... |
217 'dbus/fake_bluetooth_media_client.h', | 219 'dbus/fake_bluetooth_media_client.h', |
218 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', | 220 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', |
219 'dbus/fake_bluetooth_media_endpoint_service_provider.h', | 221 'dbus/fake_bluetooth_media_endpoint_service_provider.h', |
220 'dbus/fake_bluetooth_media_transport_client.cc', | 222 'dbus/fake_bluetooth_media_transport_client.cc', |
221 'dbus/fake_bluetooth_media_transport_client.h', | 223 'dbus/fake_bluetooth_media_transport_client.h', |
222 'dbus/fake_bluetooth_profile_manager_client.cc', | 224 'dbus/fake_bluetooth_profile_manager_client.cc', |
223 'dbus/fake_bluetooth_profile_manager_client.h', | 225 'dbus/fake_bluetooth_profile_manager_client.h', |
224 'dbus/fake_bluetooth_profile_service_provider.cc', | 226 'dbus/fake_bluetooth_profile_service_provider.cc', |
225 'dbus/fake_bluetooth_profile_service_provider.h', | 227 'dbus/fake_bluetooth_profile_service_provider.h', |
226 ], | 228 ], |
227 }], | |
228 ['chromeos==1', { | |
229 'dependencies': [ | 229 'dependencies': [ |
230 '../../build/linux/system.gyp:dbus', | 230 '../../build/linux/system.gyp:dbus', |
231 '../../chromeos/chromeos.gyp:chromeos', | |
232 '../../dbus/dbus.gyp:dbus', | 231 '../../dbus/dbus.gyp:dbus', |
233 ], | 232 ], |
234 'export_dependent_settings': [ | 233 'export_dependent_settings': [ |
235 '../../build/linux/system.gyp:dbus' | 234 '../../build/linux/system.gyp:dbus' |
236 ] | 235 ] |
237 }], | 236 }], |
| 237 ['chromeos==1', { |
| 238 'dependencies': [ |
| 239 '../../chromeos/chromeos.gyp:chromeos', |
| 240 ], |
| 241 }], |
238 ['OS == "android"', { | 242 ['OS == "android"', { |
239 'dependencies': [ | 243 'dependencies': [ |
240 'device_bluetooth_java', | 244 'device_bluetooth_java', |
241 'device_bluetooth_jni_headers', | 245 'device_bluetooth_jni_headers', |
242 ], | 246 ], |
243 }], | 247 }], |
244 ['OS=="win"', { | 248 ['OS=="win"', { |
245 # The following two blocks are duplicated. They apply to static lib | 249 # The following two blocks are duplicated. They apply to static lib |
246 # and shared lib configurations respectively. | 250 # and shared lib configurations respectively. |
247 'all_dependent_settings': { # For static lib, apply to dependents. | 251 'all_dependent_settings': { # For static lib, apply to dependents. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 ], | 371 ], |
368 'variables': { | 372 'variables': { |
369 'java_in_dir': '../../device/bluetooth/android/java', | 373 'java_in_dir': '../../device/bluetooth/android/java', |
370 }, | 374 }, |
371 'includes': [ '../../build/java.gypi' ], | 375 'includes': [ '../../build/java.gypi' ], |
372 }, | 376 }, |
373 ], | 377 ], |
374 }], | 378 }], |
375 ], | 379 ], |
376 } | 380 } |
OLD | NEW |