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 27 matching lines...) Expand all Loading... | |
38 deps = [ | 38 deps = [ |
39 ":usb_device_ids", | 39 ":usb_device_ids", |
40 "//base", | 40 "//base", |
41 "//base/third_party/dynamic_annotations", | 41 "//base/third_party/dynamic_annotations", |
42 "//components/device_event_log", | 42 "//components/device_event_log", |
43 "//device/core", | 43 "//device/core", |
44 "//net", | 44 "//net", |
45 "//third_party/libusb", | 45 "//third_party/libusb", |
46 ] | 46 ] |
47 | 47 |
48 if (is_linux) { | 48 if (use_udev) { |
tfarina
2015/08/18 20:09:19
OK.
https://chromium.googlesource.com/chromium/sr
| |
49 deps += [ "//device/udev_linux" ] | 49 deps += [ "//device/udev_linux" ] |
50 } | 50 } |
51 if (is_chromeos) { | 51 if (is_chromeos) { |
52 deps += [ | 52 deps += [ |
53 "//chromeos", | 53 "//chromeos", |
54 "//dbus", | 54 "//dbus", |
55 ] | 55 ] |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
(...skipping 27 matching lines...) Expand all Loading... | |
86 args = [ | 86 args = [ |
87 "-i", | 87 "-i", |
88 rebase_path(source_ids, root_build_dir), | 88 rebase_path(source_ids, root_build_dir), |
89 "-o", | 89 "-o", |
90 rebase_path(generated_ids, root_build_dir), | 90 rebase_path(generated_ids, root_build_dir), |
91 ] | 91 ] |
92 | 92 |
93 # Only the device_usb target can depend on us. | 93 # Only the device_usb target can depend on us. |
94 visibility = [ ":usb" ] | 94 visibility = [ ":usb" ] |
95 } | 95 } |
OLD | NEW |