Index: mojo/core/BUILD.gn
--- mojo/core/BUILD.gn.orig
+++ mojo/core/BUILD.gn
@@ -161,7 +161,7 @@ source_set("impl_for_embedder") {
       "channel_posix.h",
     ]
 
-    if (is_linux || is_chromeos || is_android) {
+    if ((is_linux || is_chromeos || is_android) && !is_bsd) {
       sources += [
         "channel_linux.cc",
         "channel_linux.h",
