aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-components_storage__monitor_BUILD.gn
blob: 1f37a78ee2761f390286ed78c151ced1c35d438b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                       
                                       
                                                     







                                                   
                                              

                                                



                                                            

                                                         
--- components/storage_monitor/BUILD.gn.orig	2023-11-03 10:09:45 UTC
+++ components/storage_monitor/BUILD.gn
@@ -77,7 +77,7 @@ static_library("storage_monitor") {
       deps += [ "//services/device/public/mojom" ]
     }
   } else if (is_linux || is_chromeos_lacros) {
-    if (use_udev) {
+    if (use_udev && !is_bsd) {
       sources += [
         "mtab_watcher_linux.cc",
         "mtab_watcher_linux.h",
@@ -184,7 +184,7 @@ source_set("unit_tests") {
         "storage_monitor_chromeos_unittest.cc",
       ]
     }
-  } else if (is_linux || is_chromeos_lacros) {
+  } else if ((is_linux || is_chromeos_lacros) && !is_bsd) {
     if (use_udev) {
       sources += [ "storage_monitor_linux_unittest.cc" ]
     }