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
3 # found in the LICENSE file.
5 assert(!is_android && !is_ios)
7 source_ids = "//third_party/usb_ids/usb.ids"
8 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
19 "usb_device_filter.cc",
20 "usb_device_filter.h",
21 "usb_device_handle_impl.cc",
22 "usb_device_handle_impl.h",
23 "usb_device_handle.h",
30 "usb_service_impl.cc",
38 "//base/third_party/dynamic_annotations",
40 "//third_party/libusb",
44 deps += [ "//device/udev_linux" ]
48 action("usb_device_ids") {
49 script = "//device/usb/tools/usb_ids.py"
58 rebase_path(source_ids, root_build_dir),
60 rebase_path(generated_ids, root_build_dir),
63 # Only the device_usb target can depend on us.
64 visibility = [ ":usb" ]