OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 component("usb_service") { | 5 component("usb_service") { |
6 sources = [ | 6 sources = [ |
7 "usb_context.cc", | 7 "usb_context.cc", |
8 "usb_context.h", | 8 "usb_context.h", |
9 "usb_device_impl.cc", | 9 "usb_device_impl.cc", |
10 "usb_device_impl.h", | 10 "usb_device_impl.h", |
11 "usb_device.h", | 11 "usb_device.h", |
| 12 "usb_device_filter.cc", |
| 13 "usb_device_filter.h", |
12 "usb_device_handle_impl.cc", | 14 "usb_device_handle_impl.cc", |
13 "usb_device_handle_impl.h", | 15 "usb_device_handle_impl.h", |
14 "usb_device_handle.h", | 16 "usb_device_handle.h", |
15 "usb_error.cc", | 17 "usb_error.cc", |
16 "usb_error.h", | 18 "usb_error.h", |
17 "usb_interface.h", | 19 "usb_interface.h", |
18 "usb_interface_impl.cc", | 20 "usb_interface_impl.cc", |
19 "usb_interface_impl.h", | 21 "usb_interface_impl.h", |
20 "usb_service.h", | 22 "usb_service.h", |
21 "usb_service_impl.cc", | 23 "usb_service_impl.cc", |
22 ] | 24 ] |
23 | 25 |
24 defines = [ "USB_SERVICE_IMPLEMENTATION" ] | 26 defines = [ "USB_SERVICE_IMPLEMENTATION" ] |
25 | 27 |
26 deps = [ | 28 deps = [ |
27 "//base", | 29 "//base", |
28 "//base/third_party/dynamic_annotations", | 30 "//base/third_party/dynamic_annotations", |
29 "//content/public/browser", | 31 "//content/public/browser", |
30 "//net", | 32 "//net", |
31 "//third_party/libusb", | 33 "//third_party/libusb", |
32 ] | 34 ] |
33 | 35 |
34 if (is_linux) { | 36 if (is_linux) { |
35 configs += [ "//build/config/linux:udev" ] | 37 configs += [ "//build/config/linux:udev" ] |
36 } | 38 } |
37 } | 39 } |
OLD | NEW |