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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 if (is_linux) { | 57 if (is_linux) { |
58 deps += [ | 58 deps += [ |
59 "//device/media_transfer_protocol", | 59 "//device/media_transfer_protocol", |
60 "//device/media_transfer_protocol:mtp_file_entry_proto", | 60 "//device/media_transfer_protocol:mtp_file_entry_proto", |
61 "//device/media_transfer_protocol:mtp_storage_info_proto", | 61 "//device/media_transfer_protocol:mtp_storage_info_proto", |
62 ] | 62 ] |
63 } | 63 } |
64 | 64 |
65 if (use_udev) { | 65 if (use_udev) { |
66 deps += [ | 66 deps += [ "//device/udev_linux" ] |
67 "//device/udev_linux", | |
68 ] | |
69 } else if (is_linux) { | 67 } else if (is_linux) { |
70 # These were already removed for non-Linux. | 68 # These were already removed for non-Linux. |
71 sources -= [ | 69 sources -= [ |
72 "storage_monitor_linux.cc", | 70 "storage_monitor_linux.cc", |
73 "storage_monitor_linux.h", | 71 "storage_monitor_linux.h", |
74 "udev_util_linux.cc", | 72 "udev_util_linux.cc", |
75 "udev_util_linux.h", | 73 "udev_util_linux.h", |
76 ] | 74 ] |
77 } | 75 } |
78 | 76 |
(...skipping 29 matching lines...) Expand all Loading... |
108 ":storage_monitor", | 106 ":storage_monitor", |
109 ] | 107 ] |
110 | 108 |
111 if (is_linux) { | 109 if (is_linux) { |
112 deps += [ | 110 deps += [ |
113 "//device/media_transfer_protocol", | 111 "//device/media_transfer_protocol", |
114 "//device/media_transfer_protocol:mtp_file_entry_proto", | 112 "//device/media_transfer_protocol:mtp_file_entry_proto", |
115 ] | 113 ] |
116 } | 114 } |
117 } | 115 } |
OLD | NEW |