summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-device_bluetooth_BUILD.gn
blob: a9abc7b2421def746d6ed94c80b127623c705a2e (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-09-24 04:26:06 UTC
+++ 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_bsd) {
   use_real_dbus_clients = false
 }
 
@@ -308,7 +308,7 @@ component("bluetooth") {
     ]
   }
 
-  if (is_chromeos || is_linux) {
+  if (is_chromeos || (is_linux && !is_bsd)) {
     if (use_dbus) {
       if (!force_cast_bluetooth) {
         sources += [ "bluetooth_adapter_chromeos.cc" ]