Index: components/wallpaper/BUILD.gn |
diff --git a/components/wallpaper/BUILD.gn b/components/wallpaper/BUILD.gn |
index 4c28343299e183047e255bccb3e7f53b1501453b..a0b47dc699162b21e71b41c2b8f2183f83014948 100644 |
--- a/components/wallpaper/BUILD.gn |
+++ b/components/wallpaper/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("wallpaper") { |
sources = [ |
"wallpaper_layout.h", |
@@ -21,7 +23,7 @@ component("wallpaper") { |
"//ui/gfx/geometry", |
"//url", |
] |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
sources += [ |
"wallpaper_manager_base.cc", |
"wallpaper_manager_base.h", |