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

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

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
630 test("gfx_unittests") { 639 test("gfx_unittests") {
631 sources = [ 640 sources = [
632 "font_render_params_linux_unittest.cc", 641 "font_render_params_linux_unittest.cc",
633 "font_unittest.cc", 642 "font_unittest.cc",
634 "image/image_family_unittest.cc", 643 "image/image_family_unittest.cc",
635 "image/image_ios_unittest.mm", 644 "image/image_ios_unittest.mm",
636 "image/image_skia_unittest.cc", 645 "image/image_skia_unittest.cc",
637 "image/image_unittest.cc", 646 "image/image_unittest.cc",
638 "ios/NSString+CrStringDrawing_unittest.mm", 647 "ios/NSString+CrStringDrawing_unittest.mm",
639 "ios/uikit_util_unittest.mm", 648 "ios/uikit_util_unittest.mm",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 if (is_android) { 788 if (is_android) {
780 generate_jni("gfx_jni_headers") { 789 generate_jni("gfx_jni_headers") {
781 sources = [ 790 sources = [
782 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 791 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
783 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 792 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
784 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 793 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
785 ] 794 ]
786 jni_package = "gfx" 795 jni_package = "gfx"
787 } 796 }
788 } 797 }
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