OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //device/bluetooth | |
12 'target_name': 'device_bluetooth', | |
13 'type': '<(component)', | |
14 'dependencies': [ | |
15 '../../base/base.gyp:base', | |
16 '../../crypto/crypto.gyp:crypto', | |
17 '../../net/net.gyp:net', | |
18 '../../ui/base/ui_base.gyp:ui_base', | |
19 'bluetooth_strings.gyp:bluetooth_strings', | |
20 'uribeacon', | |
21 ], | |
22 'defines': [ | |
23 'DEVICE_BLUETOOTH_IMPLEMENTATION', | |
24 ], | |
25 'sources': [ | |
26 # Note: file list duplicated in GN build. | |
27 'android/bluetooth_jni_registrar.cc', | |
28 'android/bluetooth_jni_registrar.h', | |
29 'android/wrappers.cc', | |
30 'android/wrappers.h', | |
31 'bluetooth_adapter.cc', | |
32 'bluetooth_adapter.h', | |
33 'bluetooth_adapter_android.cc', | |
34 'bluetooth_adapter_android.h', | |
35 'bluetooth_adapter_factory.cc', | |
36 'bluetooth_adapter_factory.h', | |
37 'bluetooth_adapter_factory_wrapper.cc', | |
38 'bluetooth_adapter_factory_wrapper.h', | |
39 'bluetooth_adapter_mac.h', | |
40 'bluetooth_adapter_mac.mm', | |
41 'bluetooth_adapter_win.cc', | |
42 'bluetooth_adapter_win.h', | |
43 'bluetooth_advertisement.cc', | |
44 'bluetooth_advertisement.h', | |
45 'bluetooth_audio_sink.cc', | |
46 'bluetooth_audio_sink.h', | |
47 'bluetooth_channel_mac.mm', | |
48 'bluetooth_channel_mac.h', | |
49 'bluetooth_classic_device_mac.mm', | |
50 'bluetooth_classic_device_mac.h', | |
51 'bluetooth_classic_win.cc', | |
52 'bluetooth_classic_win.h', | |
53 'bluetooth_common.h', | |
54 'bluetooth_device.cc', | |
55 'bluetooth_device.h', | |
56 'bluetooth_device_android.h', | |
57 'bluetooth_device_android.cc', | |
58 'bluetooth_device_mac.mm', | |
59 'bluetooth_device_mac.h', | |
60 'bluetooth_device_win.cc', | |
61 'bluetooth_device_win.h', | |
62 'bluetooth_discovery_filter.cc', | |
63 'bluetooth_discovery_filter.h', | |
64 'bluetooth_discovery_manager_mac.mm', | |
65 'bluetooth_discovery_manager_mac.h', | |
66 'bluetooth_discovery_session.cc', | |
67 'bluetooth_discovery_session.h', | |
68 'bluetooth_discovery_session_outcome.h', | |
69 'bluetooth_gatt_characteristic.cc', | |
70 'bluetooth_gatt_characteristic.h', | |
71 'bluetooth_gatt_connection.cc', | |
72 'bluetooth_gatt_connection.h', | |
73 'bluetooth_gatt_descriptor.cc', | |
74 'bluetooth_gatt_descriptor.h', | |
75 'bluetooth_gatt_notify_session.cc', | |
76 'bluetooth_gatt_notify_session.h', | |
77 'bluetooth_gatt_service.cc', | |
78 'bluetooth_gatt_service.h', | |
79 'bluetooth_init_win.cc', | |
80 'bluetooth_init_win.h', | |
81 'bluetooth_l2cap_channel_mac.mm', | |
82 'bluetooth_l2cap_channel_mac.h', | |
83 'bluetooth_local_gatt_characteristic.cc', | |
84 'bluetooth_local_gatt_characteristic.h', | |
85 'bluetooth_local_gatt_descriptor.cc', | |
86 'bluetooth_local_gatt_descriptor.h', | |
87 'bluetooth_local_gatt_service.cc', | |
88 'bluetooth_local_gatt_service.h', | |
89 'bluetooth_low_energy_central_manager_delegate.mm', | |
90 'bluetooth_low_energy_central_manager_delegate.h', | |
91 'bluetooth_low_energy_defs_win.cc', | |
92 'bluetooth_low_energy_defs_win.h', | |
93 'bluetooth_low_energy_device_mac.h', | |
94 'bluetooth_low_energy_device_mac.mm', | |
95 'bluetooth_low_energy_discovery_manager_mac.h', | |
96 'bluetooth_low_energy_discovery_manager_mac.mm', | |
97 'bluetooth_low_energy_peripheral_delegate.mm', | |
98 'bluetooth_low_energy_peripheral_delegate.h', | |
99 'bluetooth_low_energy_win.cc', | |
100 'bluetooth_low_energy_win.h', | |
101 'bluetooth_remote_gatt_characteristic.cc', | |
102 'bluetooth_remote_gatt_characteristic.h', | |
103 'bluetooth_remote_gatt_characteristic_android.cc', | |
104 'bluetooth_remote_gatt_characteristic_android.h', | |
105 'bluetooth_remote_gatt_characteristic_mac.h', | |
106 'bluetooth_remote_gatt_characteristic_mac.mm', | |
107 'bluetooth_remote_gatt_characteristic_win.cc', | |
108 'bluetooth_remote_gatt_characteristic_win.h', | |
109 'bluetooth_remote_gatt_descriptor.cc', | |
110 'bluetooth_remote_gatt_descriptor.h', | |
111 'bluetooth_remote_gatt_descriptor_android.cc', | |
112 'bluetooth_remote_gatt_descriptor_android.h', | |
113 'bluetooth_remote_gatt_descriptor_win.cc', | |
114 'bluetooth_remote_gatt_descriptor_win.h', | |
115 'bluetooth_remote_gatt_service.cc', | |
116 'bluetooth_remote_gatt_service.h', | |
117 'bluetooth_remote_gatt_service_android.cc', | |
118 'bluetooth_remote_gatt_service_android.h', | |
119 'bluetooth_remote_gatt_service_mac.h', | |
120 'bluetooth_remote_gatt_service_mac.mm', | |
121 'bluetooth_remote_gatt_service_win.cc', | |
122 'bluetooth_remote_gatt_service_win.h', | |
123 'bluetooth_rfcomm_channel_mac.mm', | |
124 'bluetooth_rfcomm_channel_mac.h', | |
125 'bluetooth_service_record_win.cc', | |
126 'bluetooth_service_record_win.h', | |
127 'bluetooth_socket.cc', | |
128 'bluetooth_socket.h', | |
129 'bluetooth_socket_mac.h', | |
130 'bluetooth_socket_mac.mm', | |
131 'bluetooth_socket_net.cc', | |
132 'bluetooth_socket_net.h', | |
133 'bluetooth_socket_thread.cc', | |
134 'bluetooth_socket_thread.h', | |
135 'bluetooth_socket_win.cc', | |
136 'bluetooth_socket_win.h', | |
137 'bluetooth_task_manager_win.cc', | |
138 'bluetooth_task_manager_win.h', | |
139 'bluetooth_uuid.cc', | |
140 'bluetooth_uuid.h', | |
141 ], | |
142 'conditions': [ | |
143 ['chromeos==1 or OS=="linux"', { | |
144 'conditions': [ | |
145 ['use_dbus==1', { | |
146 'defines': [ | |
147 'DEVICE_BLUETOOTH_IMPLEMENTATION', | |
148 ], | |
149 'sources': [ | |
150 'bluez/bluetooth_adapter_bluez.cc', | |
151 'bluez/bluetooth_adapter_bluez.h', | |
152 'bluez/bluetooth_adapter_profile_bluez.cc', | |
153 'bluez/bluetooth_adapter_profile_bluez.h', | |
154 'bluez/bluetooth_advertisement_bluez.cc', | |
155 'bluez/bluetooth_advertisement_bluez.h', | |
156 'bluez/bluetooth_audio_sink_bluez.cc', | |
157 'bluez/bluetooth_audio_sink_bluez.h', | |
158 'bluez/bluetooth_device_bluez.cc', | |
159 'bluez/bluetooth_device_bluez.h', | |
160 'bluez/bluetooth_gatt_characteristic_bluez.cc', | |
161 'bluez/bluetooth_gatt_characteristic_bluez.h', | |
162 'bluez/bluetooth_gatt_connection_bluez.cc', | |
163 'bluez/bluetooth_gatt_connection_bluez.h', | |
164 'bluez/bluetooth_gatt_descriptor_bluez.cc', | |
165 'bluez/bluetooth_gatt_descriptor_bluez.h', | |
166 'bluez/bluetooth_gatt_service_bluez.cc', | |
167 'bluez/bluetooth_gatt_service_bluez.h', | |
168 'bluez/bluetooth_local_gatt_characteristic_bluez.cc', | |
169 'bluez/bluetooth_local_gatt_characteristic_bluez.h', | |
170 'bluez/bluetooth_local_gatt_descriptor_bluez.cc', | |
171 'bluez/bluetooth_local_gatt_descriptor_bluez.h', | |
172 'bluez/bluetooth_local_gatt_service_bluez.cc', | |
173 'bluez/bluetooth_local_gatt_service_bluez.h', | |
174 'bluez/bluetooth_pairing_bluez.cc', | |
175 'bluez/bluetooth_pairing_bluez.h', | |
176 'bluez/bluetooth_remote_gatt_characteristic_bluez.cc', | |
177 'bluez/bluetooth_remote_gatt_characteristic_bluez.h', | |
178 'bluez/bluetooth_remote_gatt_descriptor_bluez.cc', | |
179 'bluez/bluetooth_remote_gatt_descriptor_bluez.h', | |
180 'bluez/bluetooth_remote_gatt_service_bluez.cc', | |
181 'bluez/bluetooth_remote_gatt_service_bluez.h', | |
182 'bluez/bluetooth_service_attribute_value_bluez.cc', | |
183 'bluez/bluetooth_service_attribute_value_bluez.h', | |
184 'bluez/bluetooth_service_record_bluez.cc', | |
185 'bluez/bluetooth_service_record_bluez.h', | |
186 'bluez/bluetooth_socket_bluez.cc', | |
187 'bluez/bluetooth_socket_bluez.h', | |
188 'dbus/bluetooth_adapter_client.cc', | |
189 'dbus/bluetooth_adapter_client.h', | |
190 'dbus/bluetooth_le_advertising_manager_client.cc', | |
191 'dbus/bluetooth_le_advertising_manager_client.h', | |
192 'dbus/bluetooth_le_advertisement_service_provider.cc', | |
193 'dbus/bluetooth_le_advertisement_service_provider.h', | |
194 'dbus/bluetooth_agent_manager_client.cc', | |
195 'dbus/bluetooth_agent_manager_client.h', | |
196 'dbus/bluetooth_agent_service_provider.cc', | |
197 'dbus/bluetooth_agent_service_provider.h', | |
198 'dbus/bluetooth_dbus_client_bundle.cc', | |
199 'dbus/bluetooth_dbus_client_bundle.h', | |
200 'dbus/bluetooth_device_client.cc', | |
201 'dbus/bluetooth_device_client.h', | |
202 'dbus/bluetooth_gatt_application_service_provider.cc', | |
203 'dbus/bluetooth_gatt_application_service_provider.h', | |
204 'dbus/bluetooth_gatt_application_service_provider_impl.cc', | |
205 'dbus/bluetooth_gatt_application_service_provider_impl.h', | |
206 'dbus/bluetooth_gatt_attribute_helpers.cc', | |
207 'dbus/bluetooth_gatt_attribute_helpers.h', | |
208 'dbus/bluetooth_gatt_attribute_value_delegate.cc', | |
209 'dbus/bluetooth_gatt_attribute_value_delegate.h', | |
210 'dbus/bluetooth_gatt_characteristic_client.cc', | |
211 'dbus/bluetooth_gatt_characteristic_client.h', | |
212 'dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc', | |
213 'dbus/bluetooth_gatt_characteristic_delegate_wrapper.h', | |
214 'dbus/bluetooth_gatt_characteristic_service_provider_impl.cc', | |
215 'dbus/bluetooth_gatt_characteristic_service_provider_impl.h', | |
216 'dbus/bluetooth_gatt_characteristic_service_provider.cc', | |
217 'dbus/bluetooth_gatt_characteristic_service_provider.h', | |
218 'dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc', | |
219 'dbus/bluetooth_gatt_descriptor_delegate_wrapper.h', | |
220 'dbus/bluetooth_gatt_descriptor_client.cc', | |
221 'dbus/bluetooth_gatt_descriptor_client.h', | |
222 'dbus/bluetooth_gatt_descriptor_service_provider_impl.cc', | |
223 'dbus/bluetooth_gatt_descriptor_service_provider_impl.h', | |
224 'dbus/bluetooth_gatt_descriptor_service_provider.cc', | |
225 'dbus/bluetooth_gatt_descriptor_service_provider.h', | |
226 'dbus/bluetooth_gatt_manager_client.cc', | |
227 'dbus/bluetooth_gatt_manager_client.h', | |
228 'dbus/bluetooth_gatt_service_client.cc', | |
229 'dbus/bluetooth_gatt_service_client.h', | |
230 'dbus/bluetooth_gatt_service_service_provider_impl.cc', | |
231 'dbus/bluetooth_gatt_service_service_provider_impl.h', | |
232 'dbus/bluetooth_gatt_service_service_provider.cc', | |
233 'dbus/bluetooth_gatt_service_service_provider.h', | |
234 'dbus/bluetooth_input_client.cc', | |
235 'dbus/bluetooth_input_client.h', | |
236 'dbus/bluetooth_media_client.cc', | |
237 'dbus/bluetooth_media_client.h', | |
238 'dbus/bluetooth_media_endpoint_service_provider.cc', | |
239 'dbus/bluetooth_media_endpoint_service_provider.h', | |
240 'dbus/bluetooth_media_transport_client.cc', | |
241 'dbus/bluetooth_media_transport_client.h', | |
242 'dbus/bluetooth_profile_manager_client.cc', | |
243 'dbus/bluetooth_profile_manager_client.h', | |
244 'dbus/bluetooth_profile_service_provider.cc', | |
245 'dbus/bluetooth_profile_service_provider.h', | |
246 'dbus/bluez_dbus_client.h', | |
247 'dbus/bluez_dbus_manager.cc', | |
248 'dbus/bluez_dbus_manager.h', | |
249 'dbus/fake_bluetooth_adapter_client.cc', | |
250 'dbus/fake_bluetooth_adapter_client.h', | |
251 'dbus/fake_bluetooth_le_advertising_manager_client.cc', | |
252 'dbus/fake_bluetooth_le_advertising_manager_client.h', | |
253 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', | |
254 'dbus/fake_bluetooth_le_advertisement_service_provider.h', | |
255 'dbus/fake_bluetooth_agent_manager_client.cc', | |
256 'dbus/fake_bluetooth_agent_manager_client.h', | |
257 'dbus/fake_bluetooth_agent_service_provider.cc', | |
258 'dbus/fake_bluetooth_agent_service_provider.h', | |
259 'dbus/fake_bluetooth_device_client.cc', | |
260 'dbus/fake_bluetooth_device_client.h', | |
261 'dbus/fake_bluetooth_gatt_application_service_provider.cc', | |
262 'dbus/fake_bluetooth_gatt_application_service_provider.h', | |
263 'dbus/fake_bluetooth_gatt_characteristic_client.cc', | |
264 'dbus/fake_bluetooth_gatt_characteristic_client.h', | |
265 'dbus/fake_bluetooth_gatt_characteristic_service_provider.cc', | |
266 'dbus/fake_bluetooth_gatt_characteristic_service_provider.h', | |
267 'dbus/fake_bluetooth_gatt_descriptor_client.cc', | |
268 'dbus/fake_bluetooth_gatt_descriptor_client.h', | |
269 'dbus/fake_bluetooth_gatt_descriptor_service_provider.cc', | |
270 'dbus/fake_bluetooth_gatt_descriptor_service_provider.h', | |
271 'dbus/fake_bluetooth_gatt_manager_client.cc', | |
272 'dbus/fake_bluetooth_gatt_manager_client.h', | |
273 'dbus/fake_bluetooth_gatt_service_client.cc', | |
274 'dbus/fake_bluetooth_gatt_service_client.h', | |
275 'dbus/fake_bluetooth_gatt_service_service_provider.cc', | |
276 'dbus/fake_bluetooth_gatt_service_service_provider.h', | |
277 'dbus/fake_bluetooth_input_client.cc', | |
278 'dbus/fake_bluetooth_input_client.h', | |
279 'dbus/fake_bluetooth_media_client.cc', | |
280 'dbus/fake_bluetooth_media_client.h', | |
281 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', | |
282 'dbus/fake_bluetooth_media_endpoint_service_provider.h', | |
283 'dbus/fake_bluetooth_media_transport_client.cc', | |
284 'dbus/fake_bluetooth_media_transport_client.h', | |
285 'dbus/fake_bluetooth_profile_manager_client.cc', | |
286 'dbus/fake_bluetooth_profile_manager_client.h', | |
287 'dbus/fake_bluetooth_profile_service_provider.cc', | |
288 'dbus/fake_bluetooth_profile_service_provider.h', | |
289 ], | |
290 'conditions': [ | |
291 ['OS=="linux"', { | |
292 'sources': [ | |
293 'dbus/dbus_bluez_manager_wrapper_linux.cc', | |
294 'dbus/dbus_bluez_manager_wrapper_linux.h', | |
295 'dbus/dbus_thread_manager_linux.cc', | |
296 'dbus/dbus_thread_manager_linux.h', | |
297 ] | |
298 }] | |
299 ], | |
300 'dependencies': [ | |
301 '../../build/linux/system.gyp:dbus', | |
302 '../../dbus/dbus.gyp:dbus', | |
303 ], | |
304 'export_dependent_settings': [ | |
305 '../../build/linux/system.gyp:dbus' | |
306 ] | |
307 }, { # !use_dbus | |
308 'sources': [ 'bluetooth_adapter_stub.cc' ], | |
309 'conditions': [ | |
310 ['OS=="linux"', { | |
311 'sources': [ | |
312 'dbus/dbus_bluez_manager_wrapper_linux.h', | |
313 'dbus/dbus_bluez_manager_wrapper_stub_linux.cc', | |
314 ] | |
315 }], | |
316 ] | |
317 }], | |
318 ], | |
319 }], | |
320 ['chromeos==1', { | |
321 'dependencies': [ | |
322 '../../chromeos/chromeos.gyp:chromeos', | |
323 ], | |
324 }], | |
325 ['OS == "android"', { | |
326 'dependencies': [ | |
327 'device_bluetooth_java', | |
328 'device_bluetooth_jni_headers', | |
329 ], | |
330 }], | |
331 ['OS=="win"', { | |
332 # The following two blocks are duplicated. They apply to static lib | |
333 # and shared lib configurations respectively. | |
334 'all_dependent_settings': { # For static lib, apply to dependents. | |
335 'msvs_settings': { | |
336 'VCLinkerTool': { | |
337 'DelayLoadDLLs': [ | |
338 'BluetoothApis.dll', | |
339 # Despite MSDN stating that Bthprops.dll contains the | |
340 # symbols declared by bthprops.lib, they actually reside here: | |
341 'Bthprops.cpl', | |
342 'setupapi.dll', | |
343 ], | |
344 'AdditionalDependencies': [ | |
345 # Bthprops must be listed before BluetoothApis or else delay | |
346 # loading crashes. | |
347 'Bthprops.lib', | |
348 'BluetoothApis.lib', | |
349 ], | |
350 }, | |
351 }, | |
352 }, | |
353 'msvs_settings': { # For shared lib, apply to self. | |
354 'VCLinkerTool': { | |
355 'DelayLoadDLLs': [ | |
356 'BluetoothApis.dll', | |
357 # Despite MSDN stating that Bthprops.dll contains the | |
358 # symbols declared by bthprops.lib, they actually reside here: | |
359 'Bthprops.cpl', | |
360 'setupapi.dll', | |
361 ], | |
362 'AdditionalDependencies': [ | |
363 # Bthprops must be listed before BluetoothApis or else delay | |
364 # loading crashes. | |
365 'Bthprops.lib', | |
366 'BluetoothApis.lib', | |
367 ], | |
368 }, | |
369 }, | |
370 }], | |
371 ['OS=="mac"', { | |
372 'link_settings': { | |
373 'libraries': [ | |
374 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | |
375 ], | |
376 'conditions': [ | |
377 ['mac_sdk == "10.10"', { | |
378 'xcode_settings': { | |
379 # In the OSX 10.10 SDK, CoreBluetooth became a top level | |
380 # framework. Previously, it was nested in IOBluetooth. In | |
381 # order for Chrome to run on OSes older than OSX 10.10, the | |
382 # top level CoreBluetooth framework must be weakly linked. | |
383 'OTHER_LDFLAGS': [ | |
384 '-weak_framework CoreBluetooth', | |
385 ], | |
386 }, | |
387 }], | |
388 ], | |
389 }, | |
390 }], | |
391 ], | |
392 }, | |
393 { | |
394 # GN version: //device/bluetooth/uribeacon | |
395 'target_name': 'uribeacon', | |
396 'type': 'static_library', | |
397 'dependencies': [ | |
398 '../../base/base.gyp:base', | |
399 ], | |
400 'sources': [ | |
401 'uribeacon/uri_encoder.cc', | |
402 'uribeacon/uri_encoder.h' | |
403 ] | |
404 }, | |
405 { | |
406 # GN version: //device/bluetooth:mocks | |
407 'target_name': 'device_bluetooth_mocks', | |
408 'type': 'static_library', | |
409 'dependencies': [ | |
410 '../../testing/gmock.gyp:gmock', | |
411 'device_bluetooth', | |
412 ], | |
413 'include_dirs': [ | |
414 '../../', | |
415 ], | |
416 'sources': [ | |
417 # Note: file list duplicated in GN build. | |
418 'test/mock_bluetooth_adapter.cc', | |
419 'test/mock_bluetooth_adapter.h', | |
420 'test/mock_bluetooth_advertisement.cc', | |
421 'test/mock_bluetooth_advertisement.h', | |
422 'test/mock_bluetooth_device.cc', | |
423 'test/mock_bluetooth_device.h', | |
424 'test/mock_bluetooth_discovery_session.cc', | |
425 'test/mock_bluetooth_discovery_session.h', | |
426 'test/mock_bluetooth_gatt_characteristic.cc', | |
427 'test/mock_bluetooth_gatt_characteristic.h', | |
428 'test/mock_bluetooth_gatt_connection.cc', | |
429 'test/mock_bluetooth_gatt_connection.h', | |
430 'test/mock_bluetooth_gatt_descriptor.cc', | |
431 'test/mock_bluetooth_gatt_descriptor.h', | |
432 'test/mock_bluetooth_gatt_notify_session.cc', | |
433 'test/mock_bluetooth_gatt_notify_session.h', | |
434 'test/mock_bluetooth_gatt_service.cc', | |
435 'test/mock_bluetooth_gatt_service.h', | |
436 'test/mock_bluetooth_socket.cc', | |
437 'test/mock_bluetooth_socket.h', | |
438 ], | |
439 }, | |
440 ], | |
441 'conditions': [ | |
442 ['OS == "android"', { | |
443 'targets': [ | |
444 { | |
445 'target_name': 'device_bluetooth_jni_headers', | |
446 'type': 'none', | |
447 'sources': [ | |
448 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapt
er.java', | |
449 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevic
e.java', | |
450 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemot
eGattCharacteristic.java', | |
451 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemot
eGattDescriptor.java', | |
452 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemot
eGattService.java', | |
453 'android/java/src/org/chromium/device/bluetooth/Wrappers.java', | |
454 ], | |
455 'variables': { | |
456 'jni_gen_package': 'device_bluetooth', | |
457 }, | |
458 'includes': [ '../../build/jni_generator.gypi' ], | |
459 }, | |
460 { | |
461 'target_name': 'device_bluetooth_java', | |
462 'type': 'none', | |
463 'dependencies': [ | |
464 '../../base/base.gyp:base', | |
465 ], | |
466 'variables': { | |
467 'java_in_dir': '../../device/bluetooth/android/java', | |
468 }, | |
469 'includes': [ '../../build/java.gypi' ], | |
470 }, | |
471 ], | |
472 }], | |
473 ['OS != "ios"', { | |
474 'targets': [ | |
475 { | |
476 'target_name': 'bluetooth_interfaces_mojom', | |
477 'type': 'none', | |
478 'variables': { | |
479 'mojom_files': [ | |
480 'public/interfaces/bluetooth_uuid.mojom', | |
481 ], | |
482 'mojom_typemaps': [ | |
483 'public/interfaces/bluetooth_uuid.typemap', | |
484 ], | |
485 'use_new_wrapper_types': 'false', | |
486 }, | |
487 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], | |
488 }, | |
489 { | |
490 'target_name': 'bluetooth_interfaces_blink_mojom', | |
491 'type': 'none', | |
492 'variables': { | |
493 'mojom_files': [ | |
494 'public/interfaces/bluetooth_uuid.mojom', | |
495 ], | |
496 'for_blink': 'true', | |
497 'use_new_wrapper_types': 'false', | |
498 }, | |
499 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], | |
500 }, | |
501 { | |
502 'target_name': 'bluetooth_mojom', | |
503 'type': 'static_library', | |
504 'export_dependent_settings': [ | |
505 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
506 ], | |
507 'dependencies': [ | |
508 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
509 'bluetooth_interfaces_blink_mojom', | |
510 'bluetooth_interfaces_mojom', | |
511 'device_bluetooth', | |
512 ], | |
513 }, | |
514 ], | |
515 }], | |
516 ], | |
517 } | |
OLD | NEW |