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