Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: Source/modules/modules.gypi

Issue 1245363002: Add WebUSB bindings and client interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cleanup, better error reporting Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/modules/webusb/NavigatorUSB.h » ('j') | Source/modules/webusb/USB.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'includes': [ 2 'includes': [
3 '../core/core_generated.gypi', 3 '../core/core_generated.gypi',
4 'modules_generated.gypi', 4 'modules_generated.gypi',
5 ], 5 ],
6 'variables': { 6 'variables': {
7 # Experimental hooks for embedder to provide extra IDL and source files. 7 # Experimental hooks for embedder to provide extra IDL and source files.
8 # 8 #
9 # Note: this is not a supported API. If you rely on this, you will be broken 9 # Note: this is not a supported API. If you rely on this, you will be broken
10 # from time to time as the code generator changes in backward incompatible 10 # from time to time as the code generator changes in backward incompatible
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 'webmidi/MIDIAccess.idl', 283 'webmidi/MIDIAccess.idl',
284 'webmidi/MIDIConnectionEvent.idl', 284 'webmidi/MIDIConnectionEvent.idl',
285 'webmidi/MIDIInput.idl', 285 'webmidi/MIDIInput.idl',
286 'webmidi/MIDIInputMap.idl', 286 'webmidi/MIDIInputMap.idl',
287 'webmidi/MIDIMessageEvent.idl', 287 'webmidi/MIDIMessageEvent.idl',
288 'webmidi/MIDIOutput.idl', 288 'webmidi/MIDIOutput.idl',
289 'webmidi/MIDIOutputMap.idl', 289 'webmidi/MIDIOutputMap.idl',
290 'webmidi/MIDIPort.idl', 290 'webmidi/MIDIPort.idl',
291 'websockets/CloseEvent.idl', 291 'websockets/CloseEvent.idl',
292 'websockets/WebSocket.idl', 292 'websockets/WebSocket.idl',
293 'webusb/USB.idl',
294 'webusb/USBAlternateInterface.idl',
295 'webusb/USBConfiguration.idl',
296 'webusb/USBDevice.idl',
297 'webusb/USBEndpoint.idl',
298 'webusb/USBInTransferResult.idl',
299 'webusb/USBInterface.idl',
300 'webusb/USBOutTransferResult.idl',
301 'webusb/USBTransferStatus.idl',
293 ], 302 ],
294 # 'partial interface' or target (right side of) 'implements' 303 # 'partial interface' or target (right side of) 'implements'
295 'modules_dependency_idl_files': [ 304 'modules_dependency_idl_files': [
296 'audio_output_devices/HTMLMediaElementAudioOutputDevice.idl', 305 'audio_output_devices/HTMLMediaElementAudioOutputDevice.idl',
297 'background_sync/ServiceWorkerGlobalScopeSync.idl', 306 'background_sync/ServiceWorkerGlobalScopeSync.idl',
298 'background_sync/ServiceWorkerRegistrationSync.idl', 307 'background_sync/ServiceWorkerRegistrationSync.idl',
299 'battery/NavigatorBattery.idl', 308 'battery/NavigatorBattery.idl',
300 'beacon/NavigatorBeacon.idl', 309 'beacon/NavigatorBeacon.idl',
301 'bluetooth/NavigatorBluetooth.idl', 310 'bluetooth/NavigatorBluetooth.idl',
302 'cachestorage/CompositorWorkerCacheStorage.idl', 311 'cachestorage/CompositorWorkerCacheStorage.idl',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 'speech/WindowSpeech.idl', 370 'speech/WindowSpeech.idl',
362 'speech/WindowSpeechSynthesis.idl', 371 'speech/WindowSpeechSynthesis.idl',
363 'storage/WindowStorage.idl', 372 'storage/WindowStorage.idl',
364 'vibration/NavigatorVibration.idl', 373 'vibration/NavigatorVibration.idl',
365 'vr/NavigatorVRDevice.idl', 374 'vr/NavigatorVRDevice.idl',
366 'webaudio/WindowWebAudio.idl', 375 'webaudio/WindowWebAudio.idl',
367 'webdatabase/WindowWebDatabase.idl', 376 'webdatabase/WindowWebDatabase.idl',
368 'webgl/WebGL2RenderingContextBase.idl', 377 'webgl/WebGL2RenderingContextBase.idl',
369 'webgl/WebGLRenderingContextBase.idl', 378 'webgl/WebGLRenderingContextBase.idl',
370 'webmidi/NavigatorWebMIDI.idl', 379 'webmidi/NavigatorWebMIDI.idl',
380 'webusb/NavigatorUSB.idl',
371 ], 381 ],
372 # interfaces that inherit from Event 382 # interfaces that inherit from Event
373 'modules_event_idl_files': [ 383 'modules_event_idl_files': [
374 'app_banner/BeforeInstallPromptEvent.idl', 384 'app_banner/BeforeInstallPromptEvent.idl',
375 'background_sync/PeriodicSyncEvent.idl', 385 'background_sync/PeriodicSyncEvent.idl',
376 'background_sync/SyncEvent.idl', 386 'background_sync/SyncEvent.idl',
377 'device_light/DeviceLightEvent.idl', 387 'device_light/DeviceLightEvent.idl',
378 'device_orientation/DeviceMotionEvent.idl', 388 'device_orientation/DeviceMotionEvent.idl',
379 'device_orientation/DeviceOrientationEvent.idl', 389 'device_orientation/DeviceOrientationEvent.idl',
380 'encryptedmedia/MediaEncryptedEvent.idl', 390 'encryptedmedia/MediaEncryptedEvent.idl',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 'speech/SpeechRecognitionErrorInit.idl', 472 'speech/SpeechRecognitionErrorInit.idl',
463 'speech/SpeechRecognitionEventInit.idl', 473 'speech/SpeechRecognitionEventInit.idl',
464 'storage/StorageEventInit.idl', 474 'storage/StorageEventInit.idl',
465 'vr/VRFieldOfViewInit.idl', 475 'vr/VRFieldOfViewInit.idl',
466 'webgl/WebGLContextAttributes.idl', 476 'webgl/WebGLContextAttributes.idl',
467 'webgl/WebGLContextEventInit.idl', 477 'webgl/WebGLContextEventInit.idl',
468 'webmidi/MIDIConnectionEventInit.idl', 478 'webmidi/MIDIConnectionEventInit.idl',
469 'webmidi/MIDIMessageEventInit.idl', 479 'webmidi/MIDIMessageEventInit.idl',
470 'webmidi/MIDIOptions.idl', 480 'webmidi/MIDIOptions.idl',
471 'websockets/CloseEventInit.idl', 481 'websockets/CloseEventInit.idl',
482 'webusb/USBControlTransferParameters.idl',
483 'webusb/USBDeviceEnumerationOptions.idl',
484 'webusb/USBDeviceFilter.idl',
472 ], 485 ],
473 'generated_modules_files': [ 486 'generated_modules_files': [
474 # .cpp files from make_modules_generated actions. 487 # .cpp files from make_modules_generated actions.
475 '<(blink_modules_output_dir)/EventModules.cpp', 488 '<(blink_modules_output_dir)/EventModules.cpp',
476 '<(blink_modules_output_dir)/EventModulesHeaders.h', 489 '<(blink_modules_output_dir)/EventModulesHeaders.h',
477 '<(blink_modules_output_dir)/EventModulesNames.cpp', 490 '<(blink_modules_output_dir)/EventModulesNames.cpp',
478 '<(blink_modules_output_dir)/EventModulesNames.h', 491 '<(blink_modules_output_dir)/EventModulesNames.h',
479 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp', 492 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp',
480 '<(blink_modules_output_dir)/EventTargetModulesNames.h', 493 '<(blink_modules_output_dir)/EventTargetModulesNames.h',
481 '<(blink_modules_output_dir)/IndexedDBNames.cpp', 494 '<(blink_modules_output_dir)/IndexedDBNames.cpp',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 '<(blink_modules_output_dir)/webgl/WebGLContextEventInit.cpp', 610 '<(blink_modules_output_dir)/webgl/WebGLContextEventInit.cpp',
598 '<(blink_modules_output_dir)/webgl/WebGLContextEventInit.h', 611 '<(blink_modules_output_dir)/webgl/WebGLContextEventInit.h',
599 '<(blink_modules_output_dir)/webmidi/MIDIConnectionEventInit.cpp', 612 '<(blink_modules_output_dir)/webmidi/MIDIConnectionEventInit.cpp',
600 '<(blink_modules_output_dir)/webmidi/MIDIConnectionEventInit.h', 613 '<(blink_modules_output_dir)/webmidi/MIDIConnectionEventInit.h',
601 '<(blink_modules_output_dir)/webmidi/MIDIMessageEventInit.h', 614 '<(blink_modules_output_dir)/webmidi/MIDIMessageEventInit.h',
602 '<(blink_modules_output_dir)/webmidi/MIDIMessageEventInit.cpp', 615 '<(blink_modules_output_dir)/webmidi/MIDIMessageEventInit.cpp',
603 '<(blink_modules_output_dir)/webmidi/MIDIOptions.cpp', 616 '<(blink_modules_output_dir)/webmidi/MIDIOptions.cpp',
604 '<(blink_modules_output_dir)/webmidi/MIDIOptions.h', 617 '<(blink_modules_output_dir)/webmidi/MIDIOptions.h',
605 '<(blink_modules_output_dir)/websockets/CloseEventInit.cpp', 618 '<(blink_modules_output_dir)/websockets/CloseEventInit.cpp',
606 '<(blink_modules_output_dir)/websockets/CloseEventInit.h', 619 '<(blink_modules_output_dir)/websockets/CloseEventInit.h',
620 '<(blink_modules_output_dir)/webusb/USBControlTransferParameters.cpp',
621 '<(blink_modules_output_dir)/webusb/USBControlTransferParameters.h',
622 '<(blink_modules_output_dir)/webusb/USBDeviceEnumerationOptions.cpp',
623 '<(blink_modules_output_dir)/webusb/USBDeviceEnumerationOptions.h',
624 '<(blink_modules_output_dir)/webusb/USBDeviceFilter.cpp',
625 '<(blink_modules_output_dir)/webusb/USBDeviceFilter.h',
607 ], 626 ],
608 'modules_files': [ 627 'modules_files': [
609 '<@(extra_blink_module_files)', 628 '<@(extra_blink_module_files)',
610 '<@(generated_modules_dictionary_files)', 629 '<@(generated_modules_dictionary_files)',
611 '<@(generated_modules_files)', 630 '<@(generated_modules_files)',
612 'InitModules.cpp', 631 'InitModules.cpp',
613 'InitModules.h', 632 'InitModules.h',
614 'accessibility/AXARIAGrid.cpp', 633 'accessibility/AXARIAGrid.cpp',
615 'accessibility/AXARIAGrid.h', 634 'accessibility/AXARIAGrid.h',
616 'accessibility/AXARIAGridCell.cpp', 635 'accessibility/AXARIAGridCell.cpp',
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 'websockets/DocumentWebSocketChannel.h', 1687 'websockets/DocumentWebSocketChannel.h',
1669 'websockets/InspectorWebSocketEvents.cpp', 1688 'websockets/InspectorWebSocketEvents.cpp',
1670 'websockets/InspectorWebSocketEvents.h', 1689 'websockets/InspectorWebSocketEvents.h',
1671 'websockets/WebSocketChannel.cpp', 1690 'websockets/WebSocketChannel.cpp',
1672 'websockets/WebSocketChannel.h', 1691 'websockets/WebSocketChannel.h',
1673 'websockets/WebSocketChannelClient.h', 1692 'websockets/WebSocketChannelClient.h',
1674 'websockets/WebSocketFrame.cpp', 1693 'websockets/WebSocketFrame.cpp',
1675 'websockets/WebSocketFrame.h', 1694 'websockets/WebSocketFrame.h',
1676 'websockets/WorkerWebSocketChannel.cpp', 1695 'websockets/WorkerWebSocketChannel.cpp',
1677 'websockets/WorkerWebSocketChannel.h', 1696 'websockets/WorkerWebSocketChannel.h',
1697 'webusb/NavigatorUSB.cpp',
1698 'webusb/NavigatorUSB.h',
1699 'webusb/USB.cpp',
1700 'webusb/USB.h',
1701 'webusb/USBAlternateInterface.cpp',
1702 'webusb/USBAlternateInterface.h',
1703 'webusb/USBConfiguration.cpp',
1704 'webusb/USBConfiguration.h',
1705 'webusb/USBController.cpp',
1706 'webusb/USBController.h',
1707 'webusb/USBDevice.cpp',
1708 'webusb/USBDevice.h',
1709 'webusb/USBEndpoint.cpp',
1710 'webusb/USBEndpoint.h',
1711 'webusb/USBError.cpp',
1712 'webusb/USBError.h',
1713 'webusb/USBInTransferResult.h',
1714 'webusb/USBInterface.cpp',
1715 'webusb/USBInterface.h',
1716 'webusb/USBOutTransferResult.h',
1678 ], 1717 ],
1679 # 'partial interface' or target (right side of) 'implements' 1718 # 'partial interface' or target (right side of) 'implements'
1680 'modules_testing_dependency_idl_files' : [ 1719 'modules_testing_dependency_idl_files' : [
1681 'accessibility/testing/InternalsAccessibility.idl', 1720 'accessibility/testing/InternalsAccessibility.idl',
1682 'geolocation/testing/InternalsGeolocation.idl', 1721 'geolocation/testing/InternalsGeolocation.idl',
1683 'navigatorcontentutils/testing/InternalsNavigatorContentUtils.idl', 1722 'navigatorcontentutils/testing/InternalsNavigatorContentUtils.idl',
1684 'serviceworkers/testing/InternalsServiceWorker.idl', 1723 'serviceworkers/testing/InternalsServiceWorker.idl',
1685 'speech/testing/InternalsSpeechSynthesis.idl', 1724 'speech/testing/InternalsSpeechSynthesis.idl',
1686 'vibration/testing/InternalsVibration.idl', 1725 'vibration/testing/InternalsVibration.idl',
1687 'webaudio/testing/InternalsWebAudio.idl', 1726 'webaudio/testing/InternalsWebAudio.idl',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 'webaudio/AudioBasicProcessorHandlerTest.cpp', 1773 'webaudio/AudioBasicProcessorHandlerTest.cpp',
1735 'webaudio/ConvolverNodeTest.cpp', 1774 'webaudio/ConvolverNodeTest.cpp',
1736 'webaudio/DynamicsCompressorNodeTest.cpp', 1775 'webaudio/DynamicsCompressorNodeTest.cpp',
1737 'webaudio/ScriptProcessorNodeTest.cpp', 1776 'webaudio/ScriptProcessorNodeTest.cpp',
1738 'webaudio/StereoPannerNodeTest.cpp', 1777 'webaudio/StereoPannerNodeTest.cpp',
1739 'websockets/DOMWebSocketTest.cpp', 1778 'websockets/DOMWebSocketTest.cpp',
1740 'websockets/DocumentWebSocketChannelTest.cpp', 1779 'websockets/DocumentWebSocketChannelTest.cpp',
1741 ], 1780 ],
1742 }, 1781 },
1743 } 1782 }
OLDNEW
« no previous file with comments | « no previous file | Source/modules/webusb/NavigatorUSB.h » ('j') | Source/modules/webusb/USB.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698