Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
[chromium-blink-merge.git] / components / storage_monitor.gypi
blob5b62656e2016770876fe5003eb5ea2fc6bb99bfe
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     {
8       'target_name': 'storage_monitor',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15       ],
16       'sources': [
17         'storage_monitor/image_capture_device.h',
18         'storage_monitor/image_capture_device.mm',
19         'storage_monitor/image_capture_device_manager.h',
20         'storage_monitor/image_capture_device_manager.mm',
21         'storage_monitor/media_storage_util.cc',
22         'storage_monitor/media_storage_util.h',
23         'storage_monitor/media_transfer_protocol_device_observer_linux.cc',
24         'storage_monitor/media_transfer_protocol_device_observer_linux.h',
25         'storage_monitor/mtab_watcher_linux.cc',
26         'storage_monitor/mtab_watcher_linux.h',
27         'storage_monitor/portable_device_watcher_win.cc',
28         'storage_monitor/portable_device_watcher_win.h',
29         'storage_monitor/removable_device_constants.cc',
30         'storage_monitor/removable_device_constants.h',
31         'storage_monitor/removable_storage_observer.h',
32         'storage_monitor/storage_info.cc',
33         'storage_monitor/storage_info.h',
34         'storage_monitor/storage_monitor.cc',
35         'storage_monitor/storage_monitor.h',
36         'storage_monitor/storage_monitor_chromeos.cc',
37         'storage_monitor/storage_monitor_chromeos.h',
38         'storage_monitor/storage_monitor_linux.cc',
39         'storage_monitor/storage_monitor_linux.h',
40         'storage_monitor/storage_monitor_mac.h',
41         'storage_monitor/storage_monitor_mac.mm',
42         'storage_monitor/storage_monitor_win.cc',
43         'storage_monitor/storage_monitor_win.h',
44         'storage_monitor/transient_device_ids.cc',
45         'storage_monitor/transient_device_ids.h',
46         'storage_monitor/udev_util_linux.cc',
47         'storage_monitor/udev_util_linux.h',
48         'storage_monitor/volume_mount_watcher_win.cc',
49         'storage_monitor/volume_mount_watcher_win.h',
50       ],
51       'conditions': [
52         ['OS == "mac"', {
53           'link_settings': {
54             'libraries': [
55               '$(SDKROOT)/System/Library/Frameworks/DiskArbitration.framework',
56               '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
57               '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
58             ],
59           },
60         }],
61         ['OS=="linux"', {
62           'dependencies': [
63             '../build/linux/system.gyp:udev',
64             '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
65             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto',
66             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_storage_info_proto',
67           ],
68         }],
69         ['chromeos==1', {
70           'sources!': [
71             'storage_monitor/mtab_watcher_linux.cc',
72             'storage_monitor/mtab_watcher_linux.h',
73             'storage_monitor/storage_monitor_linux.cc',
74             'storage_monitor/storage_monitor_linux.h',
75           ],
76         }],
77       ],
78     },
79     {
80       'target_name': 'storage_monitor_test_support',
81       'type': 'static_library',
82       'include_dirs': [
83         '..',
84       ],
85       'dependencies': [
86         '../base/base.gyp:base',
87         'storage_monitor',
88       ],
89       'sources': [
90         'storage_monitor/mock_removable_storage_observer.cc',
91         'storage_monitor/mock_removable_storage_observer.h',
92         'storage_monitor/test_media_transfer_protocol_manager_linux.cc',
93         'storage_monitor/test_media_transfer_protocol_manager_linux.h',
94         'storage_monitor/test_portable_device_watcher_win.cc',
95         'storage_monitor/test_portable_device_watcher_win.h',
96         'storage_monitor/test_storage_monitor.cc',
97         'storage_monitor/test_storage_monitor.h',
98         'storage_monitor/test_storage_monitor_win.cc',
99         'storage_monitor/test_storage_monitor_win.h',
100         'storage_monitor/test_volume_mount_watcher_win.cc',
101         'storage_monitor/test_volume_mount_watcher_win.h',
102       ],
103       'conditions': [
104         ['OS=="linux"', {
105           'dependencies': [
106             '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
107             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto',
108           ],
109         }],
110       ],
111     },
112   ],