Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: ui/gfx/BUILD.gn

Issue 569623002: Switch ChromeOS Chromium login to use IJG libjpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copyright and add unit test assertions Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | ui/gfx/chromeos/codec/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index 43a7d7aa360cd2fa0e61d42227c722f05986846c..3440c18b7826dd91a07a52ee427a08a043a5b585 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -326,6 +326,16 @@ component("gfx") {
configs += [ "//build/config/linux:fontconfig" ]
}
+ # Chrome OS
+ if (is_chromeos) {
+ # Robust JPEG decoding for the login screen.
+ sources += [
+ "chromeos/codec/jpeg_codec_robust_slow.cc",
+ "chromeos/codec/jpeg_codec_robust_slow.h",
+ ]
+ deps += [ "//third_party/libjpeg" ]
+ }
+
if (!use_aura) {
sources -= [
"path_aura.cc",
@@ -501,6 +511,10 @@ test("gfx_unittests") {
sources -= [ "nine_image_painter_unittest.cc" ]
}
+ if (is_chromeos) {
+ sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ]
+ }
+
if (is_win) {
sources += [
"color_profile_win_unittest.cc",
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | ui/gfx/chromeos/codec/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698