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',
46 'action_name': 'generate_usb_ids',
48 'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
49 'usb_ids_py_path': 'tools/usb_ids.py',
56 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
61 '-i', '<(usb_ids_path)',
64 'process_outputs_as_sources': 1,
70 '../udev_linux/udev.gyp:udev_linux',
75 '../../chromeos/chromeos.gyp:chromeos',
81 'target_name': 'device_usb_mocks',
82 'type': 'static_library',
87 '../../testing/gmock.gyp:gmock',
93 'mock_usb_device_handle.cc',
94 'mock_usb_device_handle.h',
95 'mock_usb_service.cc',