--- components/metrics/BUILD.gn.orig 2020-09-08 19:14:03 UTC +++ components/metrics/BUILD.gn @@ -178,6 +178,11 @@ jumbo_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) {