aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-components_storage__monitor_BUILD.gn
blob: 10755a9c70a75b4b7c96a43738c1ebc203c223b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- components/storage_monitor/BUILD.gn.orig	2025-03-24 20:50:14 UTC
+++ components/storage_monitor/BUILD.gn
@@ -71,7 +71,7 @@ static_library("storage_monitor") {
       deps += [ "//services/device/public/mojom" ]
     }
   } else if (is_linux) {
-    if (use_udev) {
+    if (use_udev && !is_bsd) {
       sources += [
         "mtab_watcher_linux.cc",
         "mtab_watcher_linux.h",
@@ -177,7 +177,7 @@ source_set("unit_tests") {
         "storage_monitor_chromeos_unittest.cc",
       ]
     }
-  } else if (is_linux) {
+  } else if (is_linux && !is_bsd) {
     if (use_udev) {
       sources += [ "storage_monitor_linux_unittest.cc" ]
     }