| 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", |
| 52 ] | 53 ] |
| 53 | 54 |
| 54 public_deps = [ | 55 public_deps = [ |
| 55 "//device/usb/public/interfaces", | 56 "//device/usb/public/interfaces", |
| 56 "//third_party/mojo/src/mojo/public/cpp/bindings", | 57 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 57 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 58 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
| 58 ] | 59 ] |
| 59 | 60 |
| 60 if (is_linux) { | 61 if (is_linux) { |
| 61 deps += [ "//device/udev_linux" ] | 62 deps += [ "//device/udev_linux" ] |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 args = [ | 96 args = [ |
| 96 "-i", | 97 "-i", |
| 97 rebase_path(source_ids, root_build_dir), | 98 rebase_path(source_ids, root_build_dir), |
| 98 "-o", | 99 "-o", |
| 99 rebase_path(generated_ids, root_build_dir), | 100 rebase_path(generated_ids, root_build_dir), |
| 100 ] | 101 ] |
| 101 | 102 |
| 102 # Only the device_usb target can depend on us. | 103 # Only the device_usb target can depend on us. |
| 103 visibility = [ ":usb" ] | 104 visibility = [ ":usb" ] |
| 104 } | 105 } |
| OLD | NEW |