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', | |
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': 'static_library', | |
28 'dependencies': [ | |
29 '../device/usb/usb.gyp:device_usb_mojo_bindings', | |
30 ], | |
31 'sources': [ | |
32 'webusb/public/interfaces/webusb_permission_bubble.mojom', | |
33 ], | |
34 'includes': [ | |
35 '../mojo/mojom_bindings_generator.gypi', | |
36 ], | |
37 }, | |
38 ], | 24 ], |
39 } | 25 } |
OLD | NEW |