--- device/gamepad/BUILD.gn.orig 2023-11-22 14:00:11 UTC +++ device/gamepad/BUILD.gn @@ -99,7 +99,7 @@ component("gamepad") { "hid_writer_linux.cc", "hid_writer_linux.h", ] - if (use_udev) { + if (use_udev && !is_bsd) { sources += [ "gamepad_device_linux.cc", "gamepad_device_linux.h",