aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-components_storage__monitor_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-components_storage__monitor_BUILD.gn')
-rw-r--r--devel/electron29/files/patch-components_storage__monitor_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-components_storage__monitor_BUILD.gn b/devel/electron29/files/patch-components_storage__monitor_BUILD.gn
new file mode 100644
index 000000000000..36f7159c56fc
--- /dev/null
+++ b/devel/electron29/files/patch-components_storage__monitor_BUILD.gn
@@ -0,0 +1,20 @@
+--- components/storage_monitor/BUILD.gn.orig 2023-11-29 21:39:59 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" ]
+ }