1 # Copyright 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.
11 'target_name': 'device_usb',
12 'type': 'static_library',
14 '../../components/components.gyp:device_event_log_component',
15 '../../net/net.gyp:net',
16 '../../third_party/libusb/libusb.gyp:libusb',
30 'usb_device_filter.cc',
31 'usb_device_filter.h',
32 'usb_device_handle_impl.cc',
33 'usb_device_handle_impl.h',
34 'usb_device_handle.h',
41 'usb_service_impl.cc',
43 'webusb_descriptors.cc',
44 'webusb_descriptors.h',
48 'action_name': 'generate_usb_ids',
50 'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
51 'usb_ids_py_path': 'tools/usb_ids.py',
58 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
63 '-i', '<(usb_ids_path)',
66 'process_outputs_as_sources': 1,
72 '../udev_linux/udev.gyp:udev_linux',
77 '../../chromeos/chromeos.gyp:chromeos',
83 'target_name': 'device_usb_mocks',
84 'type': 'static_library',
89 '../../testing/gmock.gyp:gmock',
95 'mock_usb_device_handle.cc',
96 'mock_usb_device_handle.h',
97 'mock_usb_service.cc',