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"
14 "device_manager_impl.cc",
15 "device_manager_impl.h",
24 "usb_device_filter.cc",
25 "usb_device_filter.h",
26 "usb_device_handle.h",
27 "usb_device_handle_impl.cc",
28 "usb_device_handle_impl.h",
37 "usb_service_impl.cc",
45 "//base/third_party/dynamic_annotations",
46 "//components/device_event_log",
48 "//device/usb/public/cpp",
49 "//mojo/environment:chromium",
51 "//third_party/libusb",
52 "//third_party/mojo/src/mojo/edk/system",
56 "//device/usb/public/interfaces",
57 "//third_party/mojo/src/mojo/public/cpp/bindings",
58 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
62 deps += [ "//device/udev_linux" ]
65 deps += [ "//chromeos" ]
75 "mock_usb_device_handle.cc",
76 "mock_usb_device_handle.h",
77 "mock_usb_service.cc",
88 action("usb_device_ids") {
89 script = "//device/usb/tools/usb_ids.py"
98 rebase_path(source_ids, root_build_dir),
100 rebase_path(generated_ids, root_build_dir),
103 # Only the device_usb target can depend on us.
104 visibility = [ ":usb" ]