mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Security: https://vuxml.freebsd.org/freebsd/2a3be628-ef6e-11ef-85f3-a8a1599412c6.html Security: https://vuxml.freebsd.org/freebsd/f572b9d1-ef6d-11ef-85f3-a8a1599412c6.html Security: https://vuxml.freebsd.org/freebsd/b09d0b3b-ef6d-11ef-85f3-a8a1599412c6.html
30 lines
796 B
Text
30 lines
796 B
Text
--- services/device/hid/BUILD.gn.orig 2025-02-19 07:43:18 UTC
|
|
+++ services/device/hid/BUILD.gn
|
|
@@ -34,7 +34,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",
|