--- ui/gfx/BUILD.gn.orig	2026-05-12 08:53:52 UTC
+++ ui/gfx/BUILD.gn
@@ -642,7 +642,7 @@ source_set("memory_buffer_sources") {
     deps += [ "//build/config/linux/libdrm" ]
   }
 
-  if (is_linux || is_chromeos || is_android) {
+  if ((is_linux || is_chromeos || is_android) && !is_bsd) {
     deps += [ "//third_party/libsync" ]
   }
 
