Index: device/hid/BUILD.gn |
diff --git a/device/hid/BUILD.gn b/device/hid/BUILD.gn |
index 4a6a1b29f7189644643e36b3bd804301e3f0d8a9..cc8a275c4cf2dc3003f688d43f31f7baa33ad567 100644 |
--- a/device/hid/BUILD.gn |
+++ b/device/hid/BUILD.gn |
@@ -49,7 +49,7 @@ source_set("hid") { |
"//net", |
] |
- if (is_linux) { |
+ if (use_udev) { |
deps += [ "//device/udev_linux" ] |
} |
if (is_chromeos) { |