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

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

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 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/gl/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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 sources -= [ 620 sources -= [
621 "test/ui_cocoa_test_helper.h", 621 "test/ui_cocoa_test_helper.h",
622 "test/ui_cocoa_test_helper.mm", 622 "test/ui_cocoa_test_helper.mm",
623 ] 623 ]
624 } 624 }
625 if (is_linux) { 625 if (is_linux) {
626 deps += [ "//build/linux:fontconfig" ] 626 deps += [ "//build/linux:fontconfig" ]
627 } 627 }
628 } 628 }
629 629
630 # TODO(GYP): Delete this after we've converted everything to GN.
631 # The _run targets exist only for compatibility w/ GYP.
632 group("gfx_unittests_run") {
633 testonly = true
634 deps = [
635 ":gfx_unittests",
636 ]
637 }
638
639 test("gfx_unittests") { 630 test("gfx_unittests") {
640 sources = [ 631 sources = [
641 "font_render_params_linux_unittest.cc", 632 "font_render_params_linux_unittest.cc",
642 "font_unittest.cc", 633 "font_unittest.cc",
643 "image/image_family_unittest.cc", 634 "image/image_family_unittest.cc",
644 "image/image_ios_unittest.mm", 635 "image/image_ios_unittest.mm",
645 "image/image_skia_unittest.cc", 636 "image/image_skia_unittest.cc",
646 "image/image_unittest.cc", 637 "image/image_unittest.cc",
647 "ios/NSString+CrStringDrawing_unittest.mm", 638 "ios/NSString+CrStringDrawing_unittest.mm",
648 "ios/uikit_util_unittest.mm", 639 "ios/uikit_util_unittest.mm",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 if (is_android) { 779 if (is_android) {
789 generate_jni("gfx_jni_headers") { 780 generate_jni("gfx_jni_headers") {
790 sources = [ 781 sources = [
791 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 782 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
792 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 783 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
793 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 784 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
794 ] 785 ]
795 jni_package = "gfx" 786 jni_package = "gfx"
796 } 787 }
797 } 788 }
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698