1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [{
# GN version: //components/usb_service
'target_name': 'usb_service',
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../content/content.gyp:content_browser',
'../net/net.gyp:net',
'../third_party/libusb/libusb.gyp:libusb',
],
'defines': [
'USB_SERVICE_IMPLEMENTATION',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'usb_service/usb_context.cc',
'usb_service/usb_context.h',
'usb_service/usb_device_impl.cc',
'usb_service/usb_device_impl.h',
'usb_service/usb_device.h',
'usb_service/usb_device_filter.cc',
'usb_service/usb_device_filter.h',
'usb_service/usb_device_handle_impl.cc',
'usb_service/usb_device_handle_impl.h',
'usb_service/usb_device_handle.h',
'usb_service/usb_error.cc',
'usb_service/usb_error.h',
'usb_service/usb_interface.h',
'usb_service/usb_interface_impl.cc',
'usb_service/usb_interface_impl.h',
'usb_service/usb_service.h',
'usb_service/usb_service_impl.cc',
],
'conditions': [
['use_udev == 1', {
'dependencies': [
'../build/linux/system.gyp:udev',
],
}],
['chromeos==1', {
'dependencies': [
'../chromeos/chromeos.gyp:chromeos',
],
}],
]
}],
}
|