| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'webusb', | 8 'target_name': 'webusb', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'dependencies': [ | 10 'dependencies': [ |
| 11 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
| 12 '../device/core/core.gyp:device_core', | 12 '../device/core/core.gyp:device_core', |
| 13 '../device/usb/usb.gyp:device_usb', | 13 '../device/usb/usb.gyp:device_usb', |
| 14 'components_webusb_mojo_bindings_lib', |
| 14 ], | 15 ], |
| 15 'include_dirs': [ | 16 'include_dirs': [ |
| 16 '..', | 17 '..', |
| 17 ], | 18 ], |
| 18 'sources': [ | 19 'sources': [ |
| 19 'webusb/webusb_browser_client.h', | 20 'webusb/webusb_browser_client.h', |
| 20 'webusb/webusb_detector.cc', | 21 'webusb/webusb_detector.cc', |
| 21 'webusb/webusb_detector.h', | 22 'webusb/webusb_detector.h', |
| 22 ], | 23 ], |
| 23 }, | 24 }, |
| 25 { |
| 26 'target_name': 'components_webusb_mojo_bindings', |
| 27 'type': 'none', |
| 28 'variables': { |
| 29 'mojom_files': [ |
| 30 'webusb/public/interfaces/webusb_permission_bubble.mojom', |
| 31 ], |
| 32 'dependencies': [ |
| 33 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings', |
| 34 ], |
| 35 }, |
| 36 'includes': [ |
| 37 '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
| 38 ], |
| 39 }, |
| 40 { |
| 41 'target_name': 'components_webusb_mojo_bindings_lib', |
| 42 'type': 'static_library', |
| 43 'dependencies': [ |
| 44 'components_webusb_mojo_bindings', |
| 45 ], |
| 46 }, |
| 24 ], | 47 ], |
| 25 } | 48 } |
| OLD | NEW |