--- components/storage_monitor/BUILD.gn.orig 2021-01-07 00:36:31 UTC +++ components/storage_monitor/BUILD.gn @@ -88,6 +88,13 @@ static_library("storage_monitor") { } } + if (is_bsd) { + sources += [ + "storage_monitor_freebsd.cc", + "storage_monitor_freebsd.h", + ] + } + if (use_udev) { sources += [ "udev_util_linux.cc",