Index: device/nfc/BUILD.gn |
diff --git a/device/nfc/BUILD.gn b/device/nfc/BUILD.gn |
index 340c9246df0d0761f48f0c0e258c7e10975e1a95..9dc86afe5cee8f4cf96834f359bcbc668d805de6 100644 |
--- a/device/nfc/BUILD.gn |
+++ b/device/nfc/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") |
+ |
static_library("nfc") { |
sources = [ |
"nfc_adapter.cc", |
@@ -33,7 +35,7 @@ static_library("nfc") { |
"//url", |
] |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
deps += [ |
"//chromeos", |
"//dbus", |