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