--- components/storage_monitor/BUILD.gn.orig 2021-01-18 21:28:56 UTC +++ components/storage_monitor/BUILD.gn @@ -81,6 +81,13 @@ static_library("storage_monitor") { } } + if (is_bsd) { + sources += [ + "storage_monitor_freebsd.cc", + "storage_monitor_freebsd.h", + ] + } + if (use_udev) { if (is_linux || is_chromeos) { sources += [