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

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: 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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 }
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