Index: ui/gfx/BUILD.gn |
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
index d8c71f5d43fe4c379d48239cb6a2164bf766d8a9..ae374940ef3aaaa2ee9afcffa87e94a511dc984c 100644 |
--- a/ui/gfx/BUILD.gn |
+++ b/ui/gfx/BUILD.gn |
@@ -320,6 +320,13 @@ component("gfx") { |
configs += [ "//build/config/linux:fontconfig" ] |
} |
+ # Chrome OS |
+ # TODO(jorgelo): make sure this works on Chrome OS. |
+ if (is_chromeos) { |
+ # Robust JPEG decoding for the login screen. |
+ deps += [ "//third_party:jpeg" ] |
+ } |
+ |
# Ozone stuff. |
if (use_ozone) { |
sources += [ |