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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 # GYP version: components/storage_monitor.gypi:storage_monitor | 7 # GYP version: components/storage_monitor.gypi:storage_monitor |
8 source_set("storage_monitor") { | 8 static_library("storage_monitor") { |
9 sources = [ | 9 sources = [ |
10 "image_capture_device.h", | 10 "image_capture_device.h", |
11 "image_capture_device.mm", | 11 "image_capture_device.mm", |
12 "image_capture_device_manager.h", | 12 "image_capture_device_manager.h", |
13 "image_capture_device_manager.mm", | 13 "image_capture_device_manager.mm", |
14 "media_storage_util.cc", | 14 "media_storage_util.cc", |
15 "media_storage_util.h", | 15 "media_storage_util.h", |
16 "media_transfer_protocol_device_observer_linux.cc", | 16 "media_transfer_protocol_device_observer_linux.cc", |
17 "media_transfer_protocol_device_observer_linux.h", | 17 "media_transfer_protocol_device_observer_linux.h", |
18 "mtab_watcher_linux.cc", | 18 "mtab_watcher_linux.cc", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 "mtab_watcher_linux.cc", | 81 "mtab_watcher_linux.cc", |
82 "mtab_watcher_linux.h", | 82 "mtab_watcher_linux.h", |
83 "storage_monitor_linux.cc", | 83 "storage_monitor_linux.cc", |
84 "storage_monitor_linux.h", | 84 "storage_monitor_linux.h", |
85 ] | 85 ] |
86 deps += [ "//chromeos" ] | 86 deps += [ "//chromeos" ] |
87 } | 87 } |
88 } | 88 } |
89 | 89 |
90 # GYP version: components/storage_monitor.gypi:storage_monitor_test_support | 90 # GYP version: components/storage_monitor.gypi:storage_monitor_test_support |
91 source_set("test_support") { | 91 static_library("test_support") { |
92 testonly = true | 92 testonly = true |
93 sources = [ | 93 sources = [ |
94 "mock_removable_storage_observer.cc", | 94 "mock_removable_storage_observer.cc", |
95 "mock_removable_storage_observer.h", | 95 "mock_removable_storage_observer.h", |
96 "test_media_transfer_protocol_manager_linux.cc", | 96 "test_media_transfer_protocol_manager_linux.cc", |
97 "test_media_transfer_protocol_manager_linux.h", | 97 "test_media_transfer_protocol_manager_linux.h", |
98 "test_portable_device_watcher_win.cc", | 98 "test_portable_device_watcher_win.cc", |
99 "test_portable_device_watcher_win.h", | 99 "test_portable_device_watcher_win.h", |
100 "test_storage_monitor.cc", | 100 "test_storage_monitor.cc", |
101 "test_storage_monitor.h", | 101 "test_storage_monitor.h", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 153 } |
154 } | 154 } |
155 if (is_chromeos) { | 155 if (is_chromeos) { |
156 sources += [ "storage_monitor_chromeos_unittest.cc" ] | 156 sources += [ "storage_monitor_chromeos_unittest.cc" ] |
157 deps += [ | 157 deps += [ |
158 "//chromeos:test_support", | 158 "//chromeos:test_support", |
159 "//testing/gmock", | 159 "//testing/gmock", |
160 ] | 160 ] |
161 } | 161 } |
162 } | 162 } |
OLD | NEW |