Index: ui/gfx/BUILD.gn |
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
index 32fc674bdf404ec853843a1e19608cfcd00e741d..e8f3a98c911652a94a69e450222a4042efc22a93 100644 |
--- a/ui/gfx/BUILD.gn |
+++ b/ui/gfx/BUILD.gn |
@@ -370,7 +370,7 @@ component("gfx") { |
} |
# Chrome OS |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
# Robust JPEG decoding for the login screen. |
sources += [ |
"chromeos/codec/jpeg_codec_robust_slow.cc", |
@@ -610,7 +610,7 @@ test("gfx_unittests") { |
sources -= [ "nine_image_painter_unittest.cc" ] |
} |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] |
} |