$OpenBSD: patch-device_bluetooth_BUILD_gn,v 1.15 2021/10/29 14:49:41 robert Exp $
Index: device/bluetooth/BUILD.gn
--- device/bluetooth/BUILD.gn.orig
+++ device/bluetooth/BUILD.gn
@@ -10,7 +10,7 @@ if (is_android) {
 }
 if (is_chromeos_ash) {
   import("//chromeos/dbus/use_real_dbus_clients.gni")
-} else if (use_dbus) {
+} else if (use_dbus && !is_openbsd) {
   use_real_dbus_clients = false
 }
 
@@ -308,7 +308,7 @@ component("bluetooth") {
     ]
   }
 
-  if (is_chromeos || is_linux) {
+  if (is_chromeos || (is_linux && !is_openbsd)) {
     if (use_dbus) {
       if (!force_cast_bluetooth) {
         sources += [ "bluetooth_adapter_chromeos.cc" ]
