| 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 static_library("storage_monitor") { | 8 static_library("storage_monitor") { |
| 9 sources = [ | 9 sources = [ |
| 10 "image_capture_device.h", | 10 "image_capture_device.h", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 } else if (is_linux) { | 67 } else if (is_linux) { |
| 68 # These were already removed for non-Linux. | 68 # These were already removed for non-Linux. |
| 69 sources -= [ | 69 sources -= [ |
| 70 "storage_monitor_linux.cc", | 70 "storage_monitor_linux.cc", |
| 71 "storage_monitor_linux.h", | 71 "storage_monitor_linux.h", |
| 72 "udev_util_linux.cc", | 72 "udev_util_linux.cc", |
| 73 "udev_util_linux.h", | 73 "udev_util_linux.h", |
| 74 ] | 74 ] |
| 75 } | 75 } |
| 76 | 76 |
| 77 if (is_chromeos) { | 77 if (is_chromeos_ui) { |
| 78 sources -= [ | 78 sources -= [ |
| 79 "mtab_watcher_linux.cc", | 79 "mtab_watcher_linux.cc", |
| 80 "mtab_watcher_linux.h", | 80 "mtab_watcher_linux.h", |
| 81 "storage_monitor_linux.cc", | 81 "storage_monitor_linux.cc", |
| 82 "storage_monitor_linux.h", | 82 "storage_monitor_linux.h", |
| 83 ] | 83 ] |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 # GYP version: components/storage_monitor.gypi:storage_monitor_test_support | 87 # GYP version: components/storage_monitor.gypi:storage_monitor_test_support |
| (...skipping 19 matching lines...) Expand all Loading... |
| 107 ] | 107 ] |
| 108 | 108 |
| 109 if (is_linux) { | 109 if (is_linux) { |
| 110 deps += [ | 110 deps += [ |
| 111 "//device/media_transfer_protocol", | 111 "//device/media_transfer_protocol", |
| 112 "//device/media_transfer_protocol:mtp_file_entry_proto", | 112 "//device/media_transfer_protocol:mtp_file_entry_proto", |
| 113 "//device/media_transfer_protocol:mtp_storage_info_proto", | 113 "//device/media_transfer_protocol:mtp_storage_info_proto", |
| 114 ] | 114 ] |
| 115 } | 115 } |
| 116 } | 116 } |
| OLD | NEW |