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', | |
15 ], | 14 ], |
16 'include_dirs': [ | 15 'include_dirs': [ |
17 '..', | 16 '..', |
18 ], | 17 ], |
19 'sources': [ | 18 'sources': [ |
20 'webusb/webusb_browser_client.h', | 19 'webusb/webusb_browser_client.h', |
21 'webusb/webusb_detector.cc', | 20 'webusb/webusb_detector.cc', |
22 'webusb/webusb_detector.h', | 21 'webusb/webusb_detector.h', |
23 ], | 22 ], |
24 }, | 23 }, |
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 }, | |
47 ], | 24 ], |
48 } | 25 } |
OLD | NEW |