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

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

Issue 562763002: Convert device::UsbConfigDescriptor and friends to structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add interface and endpoint descriptor iterator typedefs. Created 6 years, 3 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/BUILD.gn ('k') | device/usb/usb_descriptors.h » ('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 '../../third_party/libusb/libusb.gyp:libusb', 14 '../../third_party/libusb/libusb.gyp:libusb',
15 ], 15 ],
16 'include_dirs': [ 16 'include_dirs': [
17 '../..', 17 '../..',
18 ], 18 ],
19 'sources': [ 19 'sources': [
20 'usb_context.cc', 20 'usb_context.cc',
21 'usb_context.h', 21 'usb_context.h',
22 'usb_descriptors.cc',
23 'usb_descriptors.h',
22 'usb_device_impl.cc', 24 'usb_device_impl.cc',
23 'usb_device_impl.h', 25 'usb_device_impl.h',
24 'usb_device.h', 26 'usb_device.h',
25 'usb_device_filter.cc', 27 'usb_device_filter.cc',
26 'usb_device_filter.h', 28 'usb_device_filter.h',
27 'usb_device_handle_impl.cc', 29 'usb_device_handle_impl.cc',
28 'usb_device_handle_impl.h', 30 'usb_device_handle_impl.h',
29 'usb_device_handle.h', 31 'usb_device_handle.h',
30 'usb_error.cc', 32 'usb_error.cc',
31 'usb_error.h', 33 'usb_error.h',
32 'usb_ids.cc', 34 'usb_ids.cc',
33 'usb_ids.h', 35 'usb_ids.h',
34 'usb_interface.h',
35 'usb_interface_impl.cc',
36 'usb_interface_impl.h',
37 'usb_service.h', 36 'usb_service.h',
38 'usb_service_impl.cc', 37 'usb_service_impl.cc',
39 ], 38 ],
40 'actions': [ 39 'actions': [
41 { 40 {
42 'action_name': 'generate_usb_ids', 41 'action_name': 'generate_usb_ids',
43 'variables': { 42 'variables': {
44 'usb_ids_path%': '../../third_party/usb_ids/usb.ids', 43 'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
45 'usb_ids_py_path': 'tools/usb_ids.py', 44 'usb_ids_py_path': 'tools/usb_ids.py',
46 }, 45 },
(...skipping 21 matching lines...) Expand all
68 }], 67 }],
69 ['chromeos==1', { 68 ['chromeos==1', {
70 'dependencies': [ 69 'dependencies': [
71 '../../chromeos/chromeos.gyp:chromeos', 70 '../../chromeos/chromeos.gyp:chromeos',
72 ], 71 ],
73 }], 72 }],
74 ] 73 ]
75 }, 74 },
76 ], 75 ],
77 } 76 }
OLDNEW
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/usb/usb_descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698