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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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 | « ui/events/BUILD.gn ('k') | ui/resources/BUILD.gn » ('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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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 }
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698