1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'webusb',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../device/core/core.gyp:device_core',
'../device/usb/usb.gyp:device_usb',
'components_webusb_mojo_bindings_lib',
],
'include_dirs': [
'..',
],
'sources': [
'webusb/webusb_browser_client.h',
'webusb/webusb_detector.cc',
'webusb/webusb_detector.h',
],
},
{
'target_name': 'components_webusb_mojo_bindings',
'type': 'none',
'variables': {
'mojom_files': [
'webusb/public/interfaces/webusb_permission_bubble.mojom',
],
'dependencies': [
'../device/devices_app/devices_app.gyp:device_usb_mojo_bindings',
],
},
'includes': [
'../third_party/mojo/mojom_bindings_generator_explicit.gypi',
],
},
{
'target_name': 'components_webusb_mojo_bindings_lib',
'type': 'static_library',
'dependencies': [
'components_webusb_mojo_bindings',
'../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib',
],
},
],
}
|