| OLD | NEW |
| 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 Loading... |
| 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 | |
| 768 test("cc_unittests") { | 759 test("cc_unittests") { |
| 769 sources = [ | 760 sources = [ |
| 770 "animation/animation_host_unittest.cc", | 761 "animation/animation_host_unittest.cc", |
| 771 "animation/animation_player_unittest.cc", | 762 "animation/animation_player_unittest.cc", |
| 772 "animation/animation_timeline_unittest.cc", | 763 "animation/animation_timeline_unittest.cc", |
| 773 "animation/animation_unittest.cc", | 764 "animation/animation_unittest.cc", |
| 774 "animation/element_animations_unittest.cc", | 765 "animation/element_animations_unittest.cc", |
| 775 "animation/keyframed_animation_curve_unittest.cc", | 766 "animation/keyframed_animation_curve_unittest.cc", |
| 776 "animation/layer_animation_controller_unittest.cc", | 767 "animation/layer_animation_controller_unittest.cc", |
| 777 "animation/scroll_offset_animation_curve_unittest.cc", | 768 "animation/scroll_offset_animation_curve_unittest.cc", |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 "//ui/gl", | 998 "//ui/gl", |
| 1008 "//ui/gl:test_support", | 999 "//ui/gl:test_support", |
| 1009 ] | 1000 ] |
| 1010 | 1001 |
| 1011 if (is_android) { | 1002 if (is_android) { |
| 1012 isolate_file = "cc_perftests.isolate" | 1003 isolate_file = "cc_perftests.isolate" |
| 1013 } | 1004 } |
| 1014 } | 1005 } |
| 1015 # When adding support for isolates, please have a look at run-time dependencies | 1006 # When adding support for isolates, please have a look at run-time dependencies |
| 1016 # in the cc_unittests_run target in cc_tests.gyp. | 1007 # in the cc_unittests_run target in cc_tests.gyp. |
| OLD | NEW |