| Index: device/usb/BUILD.gn
|
| diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
|
| index d8a7d77ce475d2308db2ba48ed1ba21e9a33ccae..0e97bfec0d5d1196118841009353707c51461d3b 100644
|
| --- a/device/usb/BUILD.gn
|
| +++ b/device/usb/BUILD.gn
|
| @@ -7,14 +7,39 @@ generated_ids = "$target_gen_dir/usb_ids_gen.cc"
|
|
|
| source_set("usb") {
|
| sources = [
|
| + "usb_context.cc",
|
| + "usb_context.h",
|
| + "usb_device_impl.cc",
|
| + "usb_device_impl.h",
|
| + "usb_device.h",
|
| + "usb_device_filter.cc",
|
| + "usb_device_filter.h",
|
| + "usb_device_handle_impl.cc",
|
| + "usb_device_handle_impl.h",
|
| + "usb_device_handle.h",
|
| + "usb_error.cc",
|
| + "usb_error.h",
|
| "usb_ids.cc",
|
| "usb_ids.h",
|
| + "usb_interface.h",
|
| + "usb_interface_impl.cc",
|
| + "usb_interface_impl.h",
|
| + "usb_service.h",
|
| + "usb_service_impl.cc",
|
| generated_ids,
|
| ]
|
| +
|
| deps = [
|
| ":usb_device_ids",
|
| "//base",
|
| + "//base/third_party/dynamic_annotations",
|
| + "//net",
|
| + "//third_party/libusb",
|
| ]
|
| +
|
| + if (is_linux) {
|
| + configs += [ "//build/config/linux:udev" ]
|
| + }
|
| }
|
|
|
| action("usb_device_ids") {
|
|
|