| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 "sys_color_change_listener.h", | 363 "sys_color_change_listener.h", |
| 364 ] | 364 ] |
| 365 } | 365 } |
| 366 | 366 |
| 367 # Linux. | 367 # Linux. |
| 368 if (is_linux) { | 368 if (is_linux) { |
| 369 configs += [ "//build/config/linux:fontconfig" ] | 369 configs += [ "//build/config/linux:fontconfig" ] |
| 370 } | 370 } |
| 371 | 371 |
| 372 # Chrome OS | 372 # Chrome OS |
| 373 if (is_chromeos) { | 373 if (use_cros_fe) { |
| 374 # Robust JPEG decoding for the login screen. | 374 # Robust JPEG decoding for the login screen. |
| 375 sources += [ | 375 sources += [ |
| 376 "chromeos/codec/jpeg_codec_robust_slow.cc", | 376 "chromeos/codec/jpeg_codec_robust_slow.cc", |
| 377 "chromeos/codec/jpeg_codec_robust_slow.h", | 377 "chromeos/codec/jpeg_codec_robust_slow.h", |
| 378 ] | 378 ] |
| 379 deps += [ "//third_party/libjpeg" ] | 379 deps += [ "//third_party/libjpeg" ] |
| 380 } | 380 } |
| 381 | 381 |
| 382 if (!use_aura) { | 382 if (!use_aura) { |
| 383 sources -= [ "screen_aura.cc" ] | 383 sources -= [ "screen_aura.cc" ] |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 "display_change_notifier_unittest.cc", | 603 "display_change_notifier_unittest.cc", |
| 604 ] | 604 ] |
| 605 } | 605 } |
| 606 | 606 |
| 607 if (use_aura) { | 607 if (use_aura) { |
| 608 sources -= [ "screen_unittest.cc" ] | 608 sources -= [ "screen_unittest.cc" ] |
| 609 } else if (!is_ios) { | 609 } else if (!is_ios) { |
| 610 sources -= [ "nine_image_painter_unittest.cc" ] | 610 sources -= [ "nine_image_painter_unittest.cc" ] |
| 611 } | 611 } |
| 612 | 612 |
| 613 if (is_chromeos) { | 613 if (use_cros_fe) { |
| 614 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] | 614 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] |
| 615 } | 615 } |
| 616 | 616 |
| 617 if (is_win) { | 617 if (is_win) { |
| 618 sources += [ | 618 sources += [ |
| 619 "color_profile_win_unittest.cc", | 619 "color_profile_win_unittest.cc", |
| 620 "font_fallback_win_unittest.cc", | 620 "font_fallback_win_unittest.cc", |
| 621 "icon_util_unittest.cc", | 621 "icon_util_unittest.cc", |
| 622 "icon_util_unittests.rc", | 622 "icon_util_unittests.rc", |
| 623 "path_win_unittest.cc", | 623 "path_win_unittest.cc", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 641 if (is_android) { | 641 if (is_android) { |
| 642 generate_jni("gfx_jni_headers") { | 642 generate_jni("gfx_jni_headers") { |
| 643 sources = [ | 643 sources = [ |
| 644 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 644 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 645 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 645 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 646 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 646 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 647 ] | 647 ] |
| 648 jni_package = "gfx" | 648 jni_package = "gfx" |
| 649 } | 649 } |
| 650 } | 650 } |
| OLD | NEW |