summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-device_bluetooth_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-device_bluetooth_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-device_bluetooth_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-device_bluetooth_BUILD.gn b/devel/electron13/files/patch-device_bluetooth_BUILD.gn
new file mode 100644
index 000000000000..bdde28f4327c
--- /dev/null
+++ b/devel/electron13/files/patch-device_bluetooth_BUILD.gn
@@ -0,0 +1,20 @@
+--- device/bluetooth/BUILD.gn.orig 2021-04-14 01:08:49 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",