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