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.cc',
35 'usb_device_handle.h',
42 'usb_service_impl.cc',
44 'webusb_descriptors.cc',
45 'webusb_descriptors.h',
49 'action_name': 'generate_usb_ids',
51 'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
52 'usb_ids_py_path': 'tools/usb_ids.py',
59 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
64 '-i', '<(usb_ids_path)',
67 'process_outputs_as_sources': 1,
73 '../udev_linux/udev.gyp:udev_linux',
78 '../../chromeos/chromeos.gyp:chromeos',
84 'target_name': 'device_usb_mocks',
85 'type': 'static_library',
90 '../../testing/gmock.gyp:gmock',
96 'mock_usb_device_handle.cc',
97 'mock_usb_device_handle.h',
98 'mock_usb_service.cc',