| OLD | NEW |
| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 "sys_color_change_listener.h", | 361 "sys_color_change_listener.h", |
| 362 ] | 362 ] |
| 363 } | 363 } |
| 364 | 364 |
| 365 # Linux. | 365 # Linux. |
| 366 if (is_linux) { | 366 if (is_linux) { |
| 367 configs += [ "//build/config/linux:fontconfig" ] | 367 configs += [ "//build/config/linux:fontconfig" ] |
| 368 } | 368 } |
| 369 | 369 |
| 370 # Chrome OS | 370 # Chrome OS |
| 371 if (is_chromeos) { | 371 if (is_chromeos_ui) { |
| 372 # Robust JPEG decoding for the login screen. | 372 # Robust JPEG decoding for the login screen. |
| 373 sources += [ | 373 sources += [ |
| 374 "chromeos/codec/jpeg_codec_robust_slow.cc", | 374 "chromeos/codec/jpeg_codec_robust_slow.cc", |
| 375 "chromeos/codec/jpeg_codec_robust_slow.h", | 375 "chromeos/codec/jpeg_codec_robust_slow.h", |
| 376 ] | 376 ] |
| 377 deps += [ "//third_party/libjpeg" ] | 377 deps += [ "//third_party/libjpeg" ] |
| 378 } | 378 } |
| 379 | 379 |
| 380 if (!use_aura) { | 380 if (!use_aura) { |
| 381 sources -= [ "screen_aura.cc" ] | 381 sources -= [ "screen_aura.cc" ] |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 "display_change_notifier_unittest.cc", | 592 "display_change_notifier_unittest.cc", |
| 593 ] | 593 ] |
| 594 } | 594 } |
| 595 | 595 |
| 596 if (use_aura) { | 596 if (use_aura) { |
| 597 sources -= [ "screen_unittest.cc" ] | 597 sources -= [ "screen_unittest.cc" ] |
| 598 } else if (!is_ios) { | 598 } else if (!is_ios) { |
| 599 sources -= [ "nine_image_painter_unittest.cc" ] | 599 sources -= [ "nine_image_painter_unittest.cc" ] |
| 600 } | 600 } |
| 601 | 601 |
| 602 if (is_chromeos) { | 602 if (is_chromeos_ui) { |
| 603 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] | 603 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] |
| 604 } | 604 } |
| 605 | 605 |
| 606 if (is_win) { | 606 if (is_win) { |
| 607 sources += [ | 607 sources += [ |
| 608 "color_profile_win_unittest.cc", | 608 "color_profile_win_unittest.cc", |
| 609 "font_fallback_win_unittest.cc", | 609 "font_fallback_win_unittest.cc", |
| 610 "icon_util_unittest.cc", | 610 "icon_util_unittest.cc", |
| 611 "icon_util_unittests.rc", | 611 "icon_util_unittests.rc", |
| 612 "path_win_unittest.cc", | 612 "path_win_unittest.cc", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 630 if (is_android) { | 630 if (is_android) { |
| 631 generate_jni("gfx_jni_headers") { | 631 generate_jni("gfx_jni_headers") { |
| 632 sources = [ | 632 sources = [ |
| 633 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 633 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 634 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 634 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 635 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 635 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 636 ] | 636 ] |
| 637 jni_package = "gfx" | 637 jni_package = "gfx" |
| 638 } | 638 } |
| 639 } | 639 } |
| OLD | NEW |