summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-services_device_hid_BUILD_gn
blob: 6f521331f702eec8fd518921a36346a40389d40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$OpenBSD: patch-services_device_hid_BUILD_gn,v 1.7 2021/01/20 07:28:11 robert Exp $

Index: services/device/hid/BUILD.gn
--- services/device/hid/BUILD.gn.orig
+++ services/device/hid/BUILD.gn
@@ -33,6 +33,16 @@ source_set("hid") {
     "//services/device/public/mojom",
   ]
 
+  if (is_openbsd) {
+    sources += [
+      "hid_connection_fido.cc",
+      "hid_connection_fido.h",
+      "hid_service_fido.cc",
+      "hid_service_fido.h",
+    ]
+    libs = ["fido2", "cbor", "usbhid", "crypto", "util"]
+  }
+
   if ((is_linux || is_chromeos) && use_udev) {
     sources += [
       "hid_connection_linux.cc",