1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- services/device/hid/BUILD.gn.orig 2022-12-01 10:35:46 UTC
+++ services/device/hid/BUILD.gn
@@ -35,7 +35,26 @@ source_set("hid") {
"//services/device/public/mojom",
]
- if ((is_linux || is_chromeos) && use_udev) {
+ 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_freebsd) {
+ sources += [
+ "hid_connection_freebsd.cc",
+ "hid_connection_freebsd.h",
+ "hid_service_freebsd.cc",
+ "hid_service_freebsd.h",
+ ]
+ }
+
+ if ((is_linux || is_chromeos) && !is_bsd && use_udev) {
sources += [
"hid_connection_linux.cc",
"hid_connection_linux.h",
|