Index: components/user_manager/BUILD.gn |
diff --git a/components/user_manager/BUILD.gn b/components/user_manager/BUILD.gn |
index 37f28935e11761c943e2462a6aabaa053b30c607..8c5398a8ef2c375b7f5a6e66df7f87acd3692f8d 100644 |
--- a/components/user_manager/BUILD.gn |
+++ b/components/user_manager/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") |
+ |
component("user_manager") { |
sources = [ |
"empty_user_info.cc", |
@@ -22,7 +24,7 @@ component("user_manager") { |
defines = [ "USER_MANAGER_IMPLEMENTATION" ] |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
sources += [ |
"remove_user_delegate.h", |
"user.cc", |
@@ -52,7 +54,7 @@ component("user_manager") { |
source_set("test_support") { |
testonly = true |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
sources = [ |
"fake_user_manager.cc", |
"fake_user_manager.h", |