--- components/metrics/BUILD.gn.orig 2021-01-07 00:36:30 UTC +++ components/metrics/BUILD.gn @@ -189,6 +189,11 @@ static_library("metrics") { if (is_fuchsia) { sources += [ "drive_metrics_provider_fuchsia.cc" ] } + + if (is_bsd) { + sources -= [ "system_memory_stats_recorder_linux.cc" ] + } + } if (is_android) {