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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 "//testing/gtest", | 722 "//testing/gtest", |
723 "//ui/gfx", | 723 "//ui/gfx", |
724 "//ui/gfx/geometry", | 724 "//ui/gfx/geometry", |
725 "//ui/gfx:test_support", | 725 "//ui/gfx:test_support", |
726 "//ui/gl", | 726 "//ui/gl", |
727 ] | 727 ] |
728 | 728 |
729 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 729 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
730 deps += [ "//third_party/mesa:osmesa" ] | 730 deps += [ "//third_party/mesa:osmesa" ] |
731 } | 731 } |
| 732 |
| 733 if (use_x11) { |
| 734 datadeps += [ "//tools/xdisplaycheck" ] |
| 735 } |
732 } | 736 } |
733 | 737 |
734 test("cc_unittests") { | 738 test("cc_unittests") { |
735 sources = [ | 739 sources = [ |
736 "animation/animation_unittest.cc", | 740 "animation/animation_unittest.cc", |
737 "animation/keyframed_animation_curve_unittest.cc", | 741 "animation/keyframed_animation_curve_unittest.cc", |
738 "animation/layer_animation_controller_unittest.cc", | 742 "animation/layer_animation_controller_unittest.cc", |
739 "animation/scroll_offset_animation_curve_unittest.cc", | 743 "animation/scroll_offset_animation_curve_unittest.cc", |
740 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | 744 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", |
741 "animation/scrollbar_animation_controller_thinning_unittest.cc", | 745 "animation/scrollbar_animation_controller_thinning_unittest.cc", |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 "//media", | 920 "//media", |
917 "//skia", | 921 "//skia", |
918 "//testing/gmock", | 922 "//testing/gmock", |
919 "//testing/gtest", | 923 "//testing/gtest", |
920 "//testing/perf", | 924 "//testing/perf", |
921 "//ui/gfx", | 925 "//ui/gfx", |
922 "//ui/gfx/geometry", | 926 "//ui/gfx/geometry", |
923 "//ui/gl", | 927 "//ui/gl", |
924 ] | 928 ] |
925 } | 929 } |
OLD | NEW |