OLD | NEW |
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 assert(!is_android && !is_ios) | 5 assert(!is_android && !is_ios) |
6 | 6 |
7 source_ids = "//third_party/usb_ids/usb.ids" | 7 source_ids = "//third_party/usb_ids/usb.ids" |
8 generated_ids = "$target_gen_dir/usb_ids_gen.cc" | 8 generated_ids = "$target_gen_dir/usb_ids_gen.cc" |
9 | 9 |
10 source_set("usb") { | 10 source_set("usb") { |
(...skipping 12 matching lines...) Expand all Loading... |
23 "usb_device_impl.cc", | 23 "usb_device_impl.cc", |
24 "usb_device_impl.h", | 24 "usb_device_impl.h", |
25 "usb_error.cc", | 25 "usb_error.cc", |
26 "usb_error.h", | 26 "usb_error.h", |
27 "usb_ids.cc", | 27 "usb_ids.cc", |
28 "usb_ids.h", | 28 "usb_ids.h", |
29 "usb_service.cc", | 29 "usb_service.cc", |
30 "usb_service.h", | 30 "usb_service.h", |
31 "usb_service_impl.cc", | 31 "usb_service_impl.cc", |
32 "usb_service_impl.h", | 32 "usb_service_impl.h", |
| 33 "webusb_descriptors.cc", |
| 34 "webusb_descriptors.h", |
33 generated_ids, | 35 generated_ids, |
34 ] | 36 ] |
35 | 37 |
36 deps = [ | 38 deps = [ |
37 ":usb_device_ids", | 39 ":usb_device_ids", |
38 "//base", | 40 "//base", |
39 "//base/third_party/dynamic_annotations", | 41 "//base/third_party/dynamic_annotations", |
40 "//components/device_event_log", | 42 "//components/device_event_log", |
41 "//device/core", | 43 "//device/core", |
42 "//net", | 44 "//net", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 args = [ | 86 args = [ |
85 "-i", | 87 "-i", |
86 rebase_path(source_ids, root_build_dir), | 88 rebase_path(source_ids, root_build_dir), |
87 "-o", | 89 "-o", |
88 rebase_path(generated_ids, root_build_dir), | 90 rebase_path(generated_ids, root_build_dir), |
89 ] | 91 ] |
90 | 92 |
91 # Only the device_usb target can depend on us. | 93 # Only the device_usb target can depend on us. |
92 visibility = [ ":usb" ] | 94 visibility = [ ":usb" ] |
93 } | 95 } |
OLD | NEW |