summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-services_device_hid_BUILD.gn
blob: 00b65127952daebf8b9d2df459c6e68fea616ed7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- services/device/hid/BUILD.gn.orig	2019-03-15 06:37:32 UTC
+++ services/device/hid/BUILD.gn
@@ -51,6 +51,19 @@ source_set("hid") {
     deps += [ "//device/udev_linux" ]
   }
 
+  if (is_bsd) {
+    sources -= [
+      "hid_connection_linux.cc",
+      "hid_connection_linux.h",
+    ]
+    sources += [
+      "hid_connection_freebsd.cc",
+      "hid_connection_freebsd.h",
+      "hid_service_freebsd.cc",
+      "hid_service_freebsd.h",
+    ]
+  }
+
   if (is_chromeos) {
     deps += [ "//chromeos" ]
   }