Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: device/usb/usb.gyp

Issue 1183443002: Reland: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn check... Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/usb/type_converters.cc ('k') | device/usb/usb_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'device_usb', 11 'target_name': 'device_usb',
12 'type': 'static_library', 12 'type': 'static_library',
13 'dependencies': [ 13 'dependencies': [
14 'device_usb_mojo_bindings_lib',
15 '../../components/components.gyp:device_event_log_component', 14 '../../components/components.gyp:device_event_log_component',
16 '../../net/net.gyp:net', 15 '../../net/net.gyp:net',
17 '../../third_party/libusb/libusb.gyp:libusb', 16 '../../third_party/libusb/libusb.gyp:libusb',
18 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
19 ], 17 ],
20 'include_dirs': [ 18 'include_dirs': [
21 '../..', 19 '../..',
22 ], 20 ],
23 'sources': [ 21 'sources': [
24 'device_impl.cc',
25 'device_impl.h',
26 'device_manager_impl.cc',
27 'device_manager_impl.h',
28 # TODO(rockot/reillyg): Split out public sources into their own target
29 # once all device/usb consumers have transitioned to the new public API.
30 'public/cpp/device_manager_delegate.h',
31 'public/cpp/device_manager_factory.h',
32 'type_converters.cc',
33 'type_converters.h',
34 'usb_context.cc', 22 'usb_context.cc',
35 'usb_context.h', 23 'usb_context.h',
36 'usb_descriptors.cc', 24 'usb_descriptors.cc',
37 'usb_descriptors.h', 25 'usb_descriptors.h',
38 'usb_device_impl.cc', 26 'usb_device_impl.cc',
39 'usb_device_impl.h', 27 'usb_device_impl.h',
40 'usb_device.cc', 28 'usb_device.cc',
41 'usb_device.h', 29 'usb_device.h',
42 'usb_device_filter.cc', 30 'usb_device_filter.cc',
43 'usb_device_filter.h', 31 'usb_device_filter.h',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ], 71 ],
84 }], 72 }],
85 ['chromeos==1', { 73 ['chromeos==1', {
86 'dependencies': [ 74 'dependencies': [
87 '../../chromeos/chromeos.gyp:chromeos', 75 '../../chromeos/chromeos.gyp:chromeos',
88 ], 76 ],
89 }], 77 }],
90 ] 78 ]
91 }, 79 },
92 { 80 {
93 'target_name': 'device_usb_mojo_bindings',
94 'type': 'none',
95 'variables': {
96 'mojom_files': [
97 'public/interfaces/device.mojom',
98 'public/interfaces/device_manager.mojom',
99 ],
100 },
101 'includes': [
102 '../../third_party/mojo/mojom_bindings_generator_explicit.gypi',
103 ],
104 },
105 {
106 'target_name': 'device_usb_mojo_bindings_lib',
107 'type': 'static_library',
108 'dependencies': [
109 'device_usb_mojo_bindings',
110 ],
111 },
112 {
113 'target_name': 'device_usb_mocks', 81 'target_name': 'device_usb_mocks',
114 'type': 'static_library', 82 'type': 'static_library',
115 'include_dirs': [ 83 'include_dirs': [
116 '../..', 84 '../..',
117 ], 85 ],
118 'dependencies': [ 86 'dependencies': [
119 '../../testing/gmock.gyp:gmock', 87 '../../testing/gmock.gyp:gmock',
120 'device_usb', 88 'device_usb',
121 ], 89 ],
122 'sources': [ 90 'sources': [
123 'mock_usb_device.cc', 91 'mock_usb_device.cc',
124 'mock_usb_device.h', 92 'mock_usb_device.h',
125 'mock_usb_device_handle.cc', 93 'mock_usb_device_handle.cc',
126 'mock_usb_device_handle.h', 94 'mock_usb_device_handle.h',
127 'mock_usb_service.cc', 95 'mock_usb_service.cc',
128 'mock_usb_service.h', 96 'mock_usb_service.h',
129 ], 97 ],
130 }, 98 },
131 ], 99 ],
132 } 100 }
OLDNEW
« no previous file with comments | « device/usb/type_converters.cc ('k') | device/usb/usb_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698