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
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 2014 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.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'devices_app_lib',
'type': 'static_library',
'include_dirs': [
'../..',
],
'sources': [
'devices_app.cc',
'devices_app.h',
'usb/device_impl.cc',
'usb/device_impl.h',
'usb/device_manager_impl.cc',
'usb/device_manager_impl.h',
'usb/public/cpp/device_manager_delegate.h',
'usb/type_converters.cc',
'usb/type_converters.h',
],
'dependencies': [
'<(DEPTH)/device/usb/usb.gyp:device_usb',
'device_usb_mojo_bindings_lib',
'<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
'<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
'<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'export_dependent_settings': [
'<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
'<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
'<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
'target_name': 'device_usb_mojo_bindings',
'type': 'none',
'variables': {
'mojom_files': [
'usb/public/interfaces/device.mojom',
'usb/public/interfaces/device_manager.mojom',
],
},
'includes': [
'../../third_party/mojo/mojom_bindings_generator_explicit.gypi',
],
},
{
'target_name': 'device_usb_mojo_bindings_lib',
'type': 'static_library',
'dependencies': [
'device_usb_mojo_bindings',
],
},
],
}
|