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 component("cc") { | 5 component("cc") { |
6 sources = [ | 6 sources = [ |
7 "animation/animation.cc", | 7 "animation/animation.cc", |
8 "animation/animation.h", | 8 "animation/animation.h", |
9 "animation/animation_curve.cc", | 9 "animation/animation_curve.cc", |
10 "animation/animation_curve.h", | 10 "animation/animation_curve.h", |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 ] | 595 ] |
596 | 596 |
597 include_dirs = [ | 597 include_dirs = [ |
598 ".", | 598 ".", |
599 "test", | 599 "test", |
600 ] | 600 ] |
601 | 601 |
602 deps = [ | 602 deps = [ |
603 "//base", | 603 "//base", |
604 "//base/third_party/dynamic_annotations", | 604 "//base/third_party/dynamic_annotations", |
605 "//gpu:gpu_unittest_utils", | 605 "//gpu:test_support", |
606 "//gpu/command_buffer/client:gles2_c_lib", | 606 "//gpu/command_buffer/client:gles2_c_lib", |
607 "//gpu/command_buffer/client:gles2_implementation", | 607 "//gpu/command_buffer/client:gles2_implementation", |
608 "//gpu/command_buffer/client:gl_in_process_context", | 608 "//gpu/command_buffer/client:gl_in_process_context", |
609 "//gpu/skia_bindings", | 609 "//gpu/skia_bindings", |
610 "//skia", | 610 "//skia", |
611 "//testing/gmock", | 611 "//testing/gmock", |
612 "//testing/gtest", | 612 "//testing/gtest", |
613 # TODO(GYP) | |
614 #"//third_party/mesa/mesa.gyp:osmesa", | |
615 "//ui/gfx", | 613 "//ui/gfx", |
616 "//ui/gfx/geometry", | 614 "//ui/gfx/geometry", |
617 "//ui/gfx:test_support", | 615 "//ui/gfx:test_support", |
618 "//ui/gl", | 616 "//ui/gl", |
619 ] | 617 ] |
| 618 |
| 619 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
| 620 deps += [ "//third_party/mesa:osmesa" ] |
| 621 } |
620 } | 622 } |
621 | 623 |
622 test("cc_unittests") { | 624 test("cc_unittests") { |
623 sources = [ | 625 sources = [ |
624 "animation/animation_unittest.cc", | 626 "animation/animation_unittest.cc", |
625 "animation/keyframed_animation_curve_unittest.cc", | 627 "animation/keyframed_animation_curve_unittest.cc", |
626 "animation/layer_animation_controller_unittest.cc", | 628 "animation/layer_animation_controller_unittest.cc", |
627 "animation/scroll_offset_animation_curve_unittest.cc", | 629 "animation/scroll_offset_animation_curve_unittest.cc", |
628 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | 630 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", |
629 "animation/scrollbar_animation_controller_thinning_unittest.cc", | 631 "animation/scrollbar_animation_controller_thinning_unittest.cc", |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 "test/run_all_unittests.cc", | 742 "test/run_all_unittests.cc", |
741 "test/cc_test_suite.cc", | 743 "test/cc_test_suite.cc", |
742 ] | 744 ] |
743 | 745 |
744 deps = [ | 746 deps = [ |
745 ":cc", | 747 ":cc", |
746 ":test_support", | 748 ":test_support", |
747 "//base/test:test_support", | 749 "//base/test:test_support", |
748 "//cc/surfaces", | 750 "//cc/surfaces", |
749 "//gpu", | 751 "//gpu", |
750 "//gpu:gpu_unittest_utils", | 752 "//gpu:test_support", |
751 "//media", | 753 "//media", |
752 "//testing/gmock", | 754 "//testing/gmock", |
753 "//testing/gtest", | 755 "//testing/gtest", |
754 "//ui/events:events_base", | 756 "//ui/events:events_base", |
755 "//ui/gfx", | 757 "//ui/gfx", |
756 "//ui/gfx/geometry", | 758 "//ui/gfx/geometry", |
757 ] | 759 ] |
758 } | 760 } |
759 | 761 |
760 test("cc_perftests") { | 762 test("cc_perftests") { |
(...skipping 10 matching lines...) Expand all Loading... |
771 "trees/layer_tree_host_common_perftest.cc", | 773 "trees/layer_tree_host_common_perftest.cc", |
772 "trees/layer_tree_host_perftest.cc", | 774 "trees/layer_tree_host_perftest.cc", |
773 "trees/occlusion_tracker_perftest.cc", | 775 "trees/occlusion_tracker_perftest.cc", |
774 ] | 776 ] |
775 | 777 |
776 deps = [ | 778 deps = [ |
777 ":cc", | 779 ":cc", |
778 ":test_support", | 780 ":test_support", |
779 "//base", | 781 "//base", |
780 "//gpu", | 782 "//gpu", |
781 "//gpu:gpu_unittest_utils", | 783 "//gpu:test_support", |
782 "//media", | 784 "//media", |
783 "//skia", | 785 "//skia", |
784 "//testing/gmock", | 786 "//testing/gmock", |
785 "//testing/gtest", | 787 "//testing/gtest", |
786 "//testing/perf", | 788 "//testing/perf", |
787 "//ui/gfx", | 789 "//ui/gfx", |
788 "//ui/gfx/geometry", | 790 "//ui/gfx/geometry", |
789 ] | 791 ] |
790 } | 792 } |
OLD | NEW |