Index: ui/display/BUILD.gn |
diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn |
index 4f474f6b8b8448f359f0a4ecc5bfd5b44f5129c8..b33a91ee77ed238a24d04326376531d6b3f10d05 100644 |
--- a/ui/display/BUILD.gn |
+++ b/ui/display/BUILD.gn |
@@ -5,7 +5,7 @@ |
import("//build/config/ui.gni") |
import("//testing/test.gni") |
-if (is_chromeos) { |
+if (use_cros_fe) { |
component("display") { |
sources = [ |
"chromeos/apply_content_protection_task.cc", |
@@ -159,7 +159,7 @@ test("display_unittests") { |
"//ui/gfx/geometry", |
] |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
deps += [ |
":display", |
":test_support", |
@@ -169,7 +169,7 @@ test("display_unittests") { |
] |
} |
- if (use_ozone && is_chromeos) { |
+ if (use_ozone && use_cros_fe) { |
sources -= [ |
"chromeos/x11/display_util_x11_unittest.cc", |
"chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |