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

Side by Side Diff: device/usb/BUILD.gn

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 | « chrome/browser/devtools/device/usb/android_usb_device.cc ('k') | device/usb/usb.gyp » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 source_ids = "//third_party/usb_ids/usb.ids" 5 source_ids = "//third_party/usb_ids/usb.ids"
6 generated_ids = "$target_gen_dir/usb_ids_gen.cc" 6 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
7 7
8 source_set("usb") { 8 source_set("usb") {
9 sources = [ 9 sources = [
10 "usb_context.cc", 10 "usb_context.cc",
11 "usb_context.h", 11 "usb_context.h",
12 "usb_descriptors.cc",
13 "usb_descriptors.h",
12 "usb_device_impl.cc", 14 "usb_device_impl.cc",
13 "usb_device_impl.h", 15 "usb_device_impl.h",
14 "usb_device.h", 16 "usb_device.h",
15 "usb_device_filter.cc", 17 "usb_device_filter.cc",
16 "usb_device_filter.h", 18 "usb_device_filter.h",
17 "usb_device_handle_impl.cc", 19 "usb_device_handle_impl.cc",
18 "usb_device_handle_impl.h", 20 "usb_device_handle_impl.h",
19 "usb_device_handle.h", 21 "usb_device_handle.h",
20 "usb_error.cc", 22 "usb_error.cc",
21 "usb_error.h", 23 "usb_error.h",
22 "usb_ids.cc", 24 "usb_ids.cc",
23 "usb_ids.h", 25 "usb_ids.h",
24 "usb_interface.h",
25 "usb_interface_impl.cc",
26 "usb_interface_impl.h",
27 "usb_service.h", 26 "usb_service.h",
28 "usb_service_impl.cc", 27 "usb_service_impl.cc",
29 generated_ids, 28 generated_ids,
30 ] 29 ]
31 30
32 deps = [ 31 deps = [
33 ":usb_device_ids", 32 ":usb_device_ids",
34 "//base", 33 "//base",
35 "//base/third_party/dynamic_annotations", 34 "//base/third_party/dynamic_annotations",
36 "//net", 35 "//net",
(...skipping 10 matching lines...) Expand all
47 inputs = [ source_ids ] 46 inputs = [ source_ids ]
48 outputs = [ generated_ids ] 47 outputs = [ generated_ids ]
49 args = [ 48 args = [
50 "-i", rebase_path(source_ids, root_build_dir), 49 "-i", rebase_path(source_ids, root_build_dir),
51 "-o", rebase_path(generated_ids, root_build_dir), 50 "-o", rebase_path(generated_ids, root_build_dir),
52 ] 51 ]
53 52
54 # Only the device_usb target can depend on us. 53 # Only the device_usb target can depend on us.
55 visibility = [ ":usb" ] 54 visibility = [ ":usb" ]
56 } 55 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_device.cc ('k') | device/usb/usb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698