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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("cc") { | 8 component("cc") { |
9 sources = [ | 9 sources = [ |
10 "animation/animation.cc", | 10 "animation/animation.cc", |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 "//cc/surfaces:surface_id", | 742 "//cc/surfaces:surface_id", |
743 "//gpu/command_buffer/client:gl_in_process_context", | 743 "//gpu/command_buffer/client:gl_in_process_context", |
744 "//gpu/command_buffer/client:gles2_c_lib", | 744 "//gpu/command_buffer/client:gles2_c_lib", |
745 "//gpu/command_buffer/client:gles2_implementation", | 745 "//gpu/command_buffer/client:gles2_implementation", |
746 "//gpu/command_buffer/common:gles2_utils", | 746 "//gpu/command_buffer/common:gles2_utils", |
747 "//gpu/skia_bindings", | 747 "//gpu/skia_bindings", |
748 "//media", | 748 "//media", |
749 "//skia", | 749 "//skia", |
750 "//testing/gmock", | 750 "//testing/gmock", |
751 "//testing/gtest", | 751 "//testing/gtest", |
| 752 "//third_party/mesa:osmesa", |
752 "//ui/gfx", | 753 "//ui/gfx", |
753 "//ui/gfx:test_support", | 754 "//ui/gfx:test_support", |
754 "//ui/gfx/geometry", | 755 "//ui/gfx/geometry", |
755 "//ui/gl", | 756 "//ui/gl", |
756 "//ui/gl:test_support", | 757 "//ui/gl:test_support", |
757 ] | 758 ] |
758 | |
759 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | |
760 deps += [ "//third_party/mesa:osmesa" ] | |
761 } | |
762 } | 759 } |
763 | 760 |
764 test("cc_unittests") { | 761 test("cc_unittests") { |
765 sources = [ | 762 sources = [ |
766 "animation/animation_host_unittest.cc", | 763 "animation/animation_host_unittest.cc", |
767 "animation/animation_player_unittest.cc", | 764 "animation/animation_player_unittest.cc", |
768 "animation/animation_timeline_unittest.cc", | 765 "animation/animation_timeline_unittest.cc", |
769 "animation/animation_unittest.cc", | 766 "animation/animation_unittest.cc", |
770 "animation/element_animations_unittest.cc", | 767 "animation/element_animations_unittest.cc", |
771 "animation/keyframed_animation_curve_unittest.cc", | 768 "animation/keyframed_animation_curve_unittest.cc", |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 "//testing/gtest", | 995 "//testing/gtest", |
999 "//testing/perf", | 996 "//testing/perf", |
1000 "//ui/gfx", | 997 "//ui/gfx", |
1001 "//ui/gfx/geometry", | 998 "//ui/gfx/geometry", |
1002 "//ui/gl", | 999 "//ui/gl", |
1003 "//ui/gl:test_support", | 1000 "//ui/gl:test_support", |
1004 ] | 1001 ] |
1005 } | 1002 } |
1006 # When adding support for isolates, please have a look at run-time dependencies | 1003 # When adding support for isolates, please have a look at run-time dependencies |
1007 # in the cc_unittests_run target in cc_tests.gyp. | 1004 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |