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: cc/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 | « blimp/BUILD.gn ('k') | chrome/test/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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 component("cc") { 7 component("cc") {
8 sources = [ 8 sources = [
9 "animation/animation.cc", 9 "animation/animation.cc",
10 "animation/animation.h", 10 "animation/animation.h",
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 "//ui/gfx/geometry", 749 "//ui/gfx/geometry",
750 "//ui/gl", 750 "//ui/gl",
751 "//ui/gl:test_support", 751 "//ui/gl:test_support",
752 ] 752 ]
753 753
754 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 754 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
755 deps += [ "//third_party/mesa:osmesa" ] 755 deps += [ "//third_party/mesa:osmesa" ]
756 } 756 }
757 } 757 }
758 758
759 # TODO(GYP): Delete this after we've converted everything to GN.
760 # The _run targets exist only for compatibility w/ GYP.
761 group("cc_unittests_run") {
762 testonly = true
763 deps = [
764 ":cc_unittests",
765 ]
766 }
767
759 test("cc_unittests") { 768 test("cc_unittests") {
760 sources = [ 769 sources = [
761 "animation/animation_host_unittest.cc", 770 "animation/animation_host_unittest.cc",
762 "animation/animation_player_unittest.cc", 771 "animation/animation_player_unittest.cc",
763 "animation/animation_timeline_unittest.cc", 772 "animation/animation_timeline_unittest.cc",
764 "animation/animation_unittest.cc", 773 "animation/animation_unittest.cc",
765 "animation/element_animations_unittest.cc", 774 "animation/element_animations_unittest.cc",
766 "animation/keyframed_animation_curve_unittest.cc", 775 "animation/keyframed_animation_curve_unittest.cc",
767 "animation/layer_animation_controller_unittest.cc", 776 "animation/layer_animation_controller_unittest.cc",
768 "animation/scroll_offset_animation_curve_unittest.cc", 777 "animation/scroll_offset_animation_curve_unittest.cc",
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 "//ui/gl", 1007 "//ui/gl",
999 "//ui/gl:test_support", 1008 "//ui/gl:test_support",
1000 ] 1009 ]
1001 1010
1002 if (is_android) { 1011 if (is_android) {
1003 isolate_file = "cc_perftests.isolate" 1012 isolate_file = "cc_perftests.isolate"
1004 } 1013 }
1005 } 1014 }
1006 # When adding support for isolates, please have a look at run-time dependencies 1015 # When adding support for isolates, please have a look at run-time dependencies
1007 # in the cc_unittests_run target in cc_tests.gyp. 1016 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW
« no previous file with comments | « blimp/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698