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

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

Issue 1250913002: patch from chinmaygarde@ to make progress on mac, ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks needed to get base_unittests to compile 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
« testing/test.gni ('K') | « ui/base/BUILD.gn ('k') | no next file » | 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 } 544 }
545 545
546 if (is_android) { 546 if (is_android) {
547 sources -= [ 547 sources -= [
548 # Do not run display_change_notifier_unittest.cc on Android because it 548 # Do not run display_change_notifier_unittest.cc on Android because it
549 # does not compile display_observer.cc 549 # does not compile display_observer.cc
550 "display_change_notifier_unittest.cc", 550 "display_change_notifier_unittest.cc",
551 ] 551 ]
552 } 552 }
553 553
554 if (is_android || is_ios) { 554 if (is_android) {
555 sources -= [ "render_text_unittest.cc" ] 555 sources -= [ "render_text_unittest.cc" ]
556 } 556 }
557 557
558 if (use_aura) { 558 if (use_aura) {
559 sources -= [ "screen_unittest.cc" ] 559 sources -= [ "screen_unittest.cc" ]
560 } else { 560 } else if (!is_ios) {
561 sources -= [ "nine_image_painter_unittest.cc" ] 561 sources -= [ "nine_image_painter_unittest.cc" ]
562 } 562 }
563 563
564 if (is_chromeos) { 564 if (is_chromeos) {
565 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ] 565 sources += [ "chromeos/codec/jpeg_codec_robust_slow_unittest.cc" ]
566 } 566 }
567 567
568 if (is_win) { 568 if (is_win) {
569 sources += [ 569 sources += [
570 "color_profile_win_unittest.cc", 570 "color_profile_win_unittest.cc",
(...skipping 21 matching lines...) Expand all
592 if (is_android) { 592 if (is_android) {
593 generate_jni("gfx_jni_headers") { 593 generate_jni("gfx_jni_headers") {
594 sources = [ 594 sources = [
595 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 595 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
596 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 596 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
597 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 597 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
598 ] 598 ]
599 jni_package = "gfx" 599 jni_package = "gfx"
600 } 600 }
601 } 601 }
OLDNEW
« testing/test.gni ('K') | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698