9b6c3d4e30ba0d9a4b30fcd463b704e5b68180cf
[platform/framework/web/crosswalk.git] / src / components / storage_monitor.gypi
1 {
2   'targets': [
3     {
4       # Build Chromium's StorageMonitor as a static library so we
5       # don't need to reimplement the exact same functionality.
6       # This is being worked upstream on:
7       # https://codereview.chromium.org/152343005/
8       'target_name': 'storage_monitor',
9       'type': 'static_library',
10       'includes' : [
11         '../build/filename_rules.gypi',
12       ],
13       'defines': [
14         'XWALK_STORAGE_MONITOR=1',
15       ],
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         '../chrome/browser/storage_monitor/image_capture_device.h',
21         '../chrome/browser/storage_monitor/image_capture_device.mm',
22         '../chrome/browser/storage_monitor/image_capture_device_manager.h',
23         '../chrome/browser/storage_monitor/image_capture_device_manager.mm',
24         '../chrome/browser/storage_monitor/media_storage_util.cc',
25         '../chrome/browser/storage_monitor/media_storage_util.h',
26         '../chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc',
27         '../chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.h',
28         '../chrome/browser/storage_monitor/mtab_watcher_linux.cc',
29         '../chrome/browser/storage_monitor/mtab_watcher_linux.h',
30         '../chrome/browser/storage_monitor/portable_device_watcher_win.cc',
31         '../chrome/browser/storage_monitor/portable_device_watcher_win.h',
32         '../chrome/browser/storage_monitor/removable_device_constants.cc',
33         '../chrome/browser/storage_monitor/removable_device_constants.h',
34         '../chrome/browser/storage_monitor/removable_storage_observer.h',
35         '../chrome/browser/storage_monitor/storage_info.cc',
36         '../chrome/browser/storage_monitor/storage_info.h',
37         '../chrome/browser/storage_monitor/storage_monitor.cc',
38         '../chrome/browser/storage_monitor/storage_monitor.h',
39         '../chrome/browser/storage_monitor/storage_monitor_linux.cc',
40         '../chrome/browser/storage_monitor/storage_monitor_linux.h',
41         '../chrome/browser/storage_monitor/storage_monitor_mac.h',
42         '../chrome/browser/storage_monitor/storage_monitor_mac.mm',
43         '../chrome/browser/storage_monitor/storage_monitor_win.cc',
44         '../chrome/browser/storage_monitor/storage_monitor_win.h',
45         '../chrome/browser/storage_monitor/transient_device_ids.cc',
46         '../chrome/browser/storage_monitor/transient_device_ids.h',
47         '../chrome/browser/storage_monitor/udev_util_linux.cc',
48         '../chrome/browser/storage_monitor/udev_util_linux.h',
49         '../chrome/browser/storage_monitor/volume_mount_watcher_win.cc',
50         '../chrome/browser/storage_monitor/volume_mount_watcher_win.h',
51       ],
52       'conditions': [
53         ['OS=="linux"', {
54           'dependencies': [
55             '../build/linux/system.gyp:udev',
56             '../dbus/dbus.gyp:dbus',
57             '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
58             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto',
59             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_storage_info_proto',
60           ],
61         }],
62       ],
63     },
64   ],
65 }