Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: components/storage_monitor/BUILD.gn

Issue 404603002: GN fixes for the Windows build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 += [
67 "//device/udev_linux", 67 "//device/udev_linux",
68 ] 68 ]
69 } else { 69 } else if (is_linux) {
70 # These were already removed for non-Linux.
70 sources -= [ 71 sources -= [
71 "storage_monitor_linux.cc", 72 "storage_monitor_linux.cc",
72 "storage_monitor_linux.h", 73 "storage_monitor_linux.h",
73 "udev_util_linux.cc", 74 "udev_util_linux.cc",
74 "udev_util_linux.h", 75 "udev_util_linux.h",
75 ] 76 ]
76 } 77 }
77 78
78 if (is_chromeos) { 79 if (is_chromeos) {
79 sources -= [ 80 sources -= [
(...skipping 27 matching lines...) Expand all
107 ":storage_monitor", 108 ":storage_monitor",
108 ] 109 ]
109 110
110 if (is_linux) { 111 if (is_linux) {
111 deps += [ 112 deps += [
112 "//device/media_transfer_protocol", 113 "//device/media_transfer_protocol",
113 "//device/media_transfer_protocol:mtp_file_entry_proto", 114 "//device/media_transfer_protocol:mtp_file_entry_proto",
114 ] 115 ]
115 } 116 }
116 } 117 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698