Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
[chromium-blink-merge.git] / components / usb_service.gypi
blob2e98e5e69e3aadeede8cc88af0019969b5cb70fb
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
3 # found in the LICENSE file.
6   'targets': [{
7     'target_name': 'usb_service',
8     'type': '<(component)',
9     'dependencies': [
10       '../base/base.gyp:base',
11       '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
12       '../content/content.gyp:content_browser',
13       '../net/net.gyp:net',
14       '../third_party/libusb/libusb.gyp:libusb',
15     ],
16     'defines': [
17       'USB_SERVICE_IMPLEMENTATION',
18     ],
19     'include_dirs': [
20       '..',
21     ],
22     'sources': [
23       'usb_service/usb_context.cc',
24       'usb_service/usb_context.h',
25       'usb_service/usb_device_impl.cc',
26       'usb_service/usb_device_impl.h',
27       'usb_service/usb_device.h',
28       'usb_service/usb_device_handle_impl.cc',
29       'usb_service/usb_device_handle_impl.h',
30       'usb_service/usb_device_handle.h',
31       'usb_service/usb_interface.h',
32       'usb_service/usb_interface_impl.cc',
33       'usb_service/usb_interface_impl.h',
34       'usb_service/usb_service.h',
35       'usb_service/usb_service_impl.cc',
36     ],
37     'conditions': [
38       ['OS == "linux"', {
39         'dependencies': [
40           '../build/linux/system.gyp:udev',
41         ],
42       }]
43     ]
44   }],