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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 deps = [ | 42 deps = [ |
43 ":usb_device_ids", | 43 ":usb_device_ids", |
44 "//base", | 44 "//base", |
45 "//base/third_party/dynamic_annotations", | 45 "//base/third_party/dynamic_annotations", |
46 "//components/device_event_log", | 46 "//components/device_event_log", |
47 "//device/core", | 47 "//device/core", |
48 "//device/usb/public/cpp", | 48 "//device/usb/public/cpp", |
49 "//mojo/environment:chromium", | 49 "//mojo/environment:chromium", |
50 "//net", | 50 "//net", |
51 "//third_party/libusb", | 51 "//third_party/libusb", |
52 "//third_party/mojo/src/mojo/edk/system", | |
53 ] | 52 ] |
54 | 53 |
55 public_deps = [ | 54 public_deps = [ |
56 "//device/usb/public/interfaces", | 55 "//device/usb/public/interfaces", |
57 "//third_party/mojo/src/mojo/public/cpp/bindings", | 56 "//third_party/mojo/src/mojo/public/cpp/bindings", |
58 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 57 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
59 ] | 58 ] |
60 | 59 |
61 if (is_linux) { | 60 if (is_linux) { |
62 deps += [ "//device/udev_linux" ] | 61 deps += [ "//device/udev_linux" ] |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 args = [ | 95 args = [ |
97 "-i", | 96 "-i", |
98 rebase_path(source_ids, root_build_dir), | 97 rebase_path(source_ids, root_build_dir), |
99 "-o", | 98 "-o", |
100 rebase_path(generated_ids, root_build_dir), | 99 rebase_path(generated_ids, root_build_dir), |
101 ] | 100 ] |
102 | 101 |
103 # Only the device_usb target can depend on us. | 102 # Only the device_usb target can depend on us. |
104 visibility = [ ":usb" ] | 103 visibility = [ ":usb" ] |
105 } | 104 } |
OLD | NEW |