Index: components/storage_monitor/BUILD.gn |
diff --git a/components/storage_monitor/BUILD.gn b/components/storage_monitor/BUILD.gn |
index d0404c9f29b895f313a7fb4ccb82fe0a3df002a4..a6e02b1dda440af3e565ced1c58ee49e65b1a5f5 100644 |
--- a/components/storage_monitor/BUILD.gn |
+++ b/components/storage_monitor/BUILD.gn |
@@ -66,7 +66,8 @@ static_library("storage_monitor") { |
deps += [ |
"//device/udev_linux", |
] |
- } else { |
+ } else if (is_linux) { |
+ # These were already removed for non-Linux. |
sources -= [ |
"storage_monitor_linux.cc", |
"storage_monitor_linux.h", |