summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-device_bluetooth_BUILD.gn
blob: c48e7a1af366a718a32abf2cef66fabd7af26b2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- device/bluetooth/BUILD.gn.orig	2021-04-14 18:41:03 UTC
+++ device/bluetooth/BUILD.gn
@@ -9,7 +9,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_bsd) {
   use_real_dbus_clients = false
 }
 
@@ -303,7 +303,7 @@ component("bluetooth") {
     ]
   }
 
-  if (is_chromeos || is_linux) {
+  if (is_chromeos || (is_linux && !is_bsd)) {
     if (use_dbus) {
       sources += [
         "bluez/bluetooth_adapter_bluez.cc",