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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 "icon_util.cc", 319 "icon_util.cc",
320 "icon_util.h", 320 "icon_util.h",
321 ] 321 ]
322 } 322 }
323 323
324 # Linux. 324 # Linux.
325 if (is_linux) { 325 if (is_linux) {
326 configs += [ "//build/config/linux:fontconfig" ] 326 configs += [ "//build/config/linux:fontconfig" ]
327 } 327 }
328 328
329 # Chrome OS
330 if (is_chromeos) {
331 # Robust JPEG decoding for the login screen.
332 sources += [
333 "chromeos/codec/jpeg_codec_robust_slow.cc",
334 "chromeos/codec/jpeg_codec_robust_slow.h",
335 ]
336 deps += [ "//third_party/libjpeg" ]
337 }
338
329 if (!use_aura) { 339 if (!use_aura) {
330 sources -= [ 340 sources -= [
331 "path_aura.cc", 341 "path_aura.cc",
332 "screen_aura.cc", 342 "screen_aura.cc",
333 ] 343 ]
334 if (!toolkit_views) { 344 if (!toolkit_views) {
335 sources -= [ 345 sources -= [
336 "nine_image_painter.cc", 346 "nine_image_painter.cc",
337 "nine_image_painter.h", 347 "nine_image_painter.h",
338 ] 348 ]
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 if (is_android || is_ios) { 504 if (is_android || is_ios) {
495 sources -= [ "render_text_unittest.cc" ] 505 sources -= [ "render_text_unittest.cc" ]
496 } 506 }
497 507
498 if (use_aura) { 508 if (use_aura) {
499 sources -= [ "screen_unittest.cc" ] 509 sources -= [ "screen_unittest.cc" ]
500 } else { 510 } else {
501 sources -= [ "nine_image_painter_unittest.cc" ] 511 sources -= [ "nine_image_painter_unittest.cc" ]
502 } 512 }
503 513
514 if (is_chromeos) {
515 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ]
516 }
517
504 if (is_win) { 518 if (is_win) {
505 sources += [ 519 sources += [
506 "color_profile_win_unittest.cc", 520 "color_profile_win_unittest.cc",
507 "font_fallback_win_unittest.cc", 521 "font_fallback_win_unittest.cc",
508 "icon_util_unittest.cc", 522 "icon_util_unittest.cc",
509 "icon_util_unittests.rc", 523 "icon_util_unittests.rc",
510 "path_win_unittest.cc", 524 "path_win_unittest.cc",
511 "platform_font_win_unittest.cc", 525 "platform_font_win_unittest.cc",
512 ] 526 ]
513 527
(...skipping 14 matching lines...) Expand all
528 if (is_android) { 542 if (is_android) {
529 generate_jni("gfx_jni_headers") { 543 generate_jni("gfx_jni_headers") {
530 sources = [ 544 sources = [
531 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 545 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
532 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 546 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
533 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 547 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
534 ] 548 ]
535 jni_package = "gfx" 549 jni_package = "gfx"
536 } 550 }
537 } 551 }
OLDNEW
« 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