Index: device/hid/BUILD.gn |
diff --git a/device/hid/BUILD.gn b/device/hid/BUILD.gn |
index 4a6a1b29f7189644643e36b3bd804301e3f0d8a9..f094e7660d4a9720348eb5c9c71cfdb7fc73ca29 100644 |
--- a/device/hid/BUILD.gn |
+++ b/device/hid/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/features.gni") |
+ |
source_set("hid") { |
sources = [ |
"device_monitor_linux.cc", |
@@ -52,7 +54,7 @@ source_set("hid") { |
if (is_linux) { |
deps += [ "//device/udev_linux" ] |
} |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
deps += [ "//chromeos" ] |
} |
} |