$OpenBSD: patch-components_metrics_BUILD_gn,v 1.6 2018/05/04 07:14:57 robert Exp $
Index: components/metrics/BUILD.gn
--- components/metrics/BUILD.gn.orig
+++ components/metrics/BUILD.gn
@@ -117,6 +117,10 @@ static_library("metrics") {
     "//third_party/zlib/google:compression_utils",
   ]
 
+  if (is_openbsd) {
+    sources -= [ "system_memory_stats_recorder_linux.cc" ]
+  }
+
   if (is_chromeos) {
     deps += [ ":serialization" ]
   }
