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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 if (is_win) { | 472 if (is_win) { |
473 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 473 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
474 cflags = [ "/wd4267" ] # size_t -> int | 474 cflags = [ "/wd4267" ] # size_t -> int |
475 } | 475 } |
476 | 476 |
477 deps = [ | 477 deps = [ |
478 "//base", | 478 "//base", |
479 "//base/third_party/dynamic_annotations", | 479 "//base/third_party/dynamic_annotations", |
480 "//gpu", | 480 "//gpu", |
| 481 "//gpu/command_buffer/client:gles2_interface", |
481 "//media", | 482 "//media", |
482 "//skia", | 483 "//skia", |
483 "//ui/events:events_base", | 484 "//ui/events:events_base", |
484 "//ui/gfx", | 485 "//ui/gfx", |
485 "//ui/gfx/geometry", | 486 "//ui/gfx/geometry", |
486 ] | 487 ] |
487 forward_dependent_configs_from = [ | 488 forward_dependent_configs_from = [ |
488 "//skia", | 489 "//skia", |
489 ] | 490 ] |
490 | 491 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 "//testing/gtest", | 636 "//testing/gtest", |
636 "//ui/gfx", | 637 "//ui/gfx", |
637 "//ui/gfx/geometry", | 638 "//ui/gfx/geometry", |
638 "//ui/gfx:test_support", | 639 "//ui/gfx:test_support", |
639 "//ui/gl", | 640 "//ui/gl", |
640 ] | 641 ] |
641 | 642 |
642 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 643 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
643 deps += [ "//third_party/mesa:osmesa" ] | 644 deps += [ "//third_party/mesa:osmesa" ] |
644 } | 645 } |
| 646 |
| 647 forward_dependent_configs_from = [ |
| 648 "//gpu:test_support", |
| 649 ] |
645 } | 650 } |
646 | 651 |
647 test("cc_unittests") { | 652 test("cc_unittests") { |
648 sources = [ | 653 sources = [ |
649 "animation/animation_unittest.cc", | 654 "animation/animation_unittest.cc", |
650 "animation/keyframed_animation_curve_unittest.cc", | 655 "animation/keyframed_animation_curve_unittest.cc", |
651 "animation/layer_animation_controller_unittest.cc", | 656 "animation/layer_animation_controller_unittest.cc", |
652 "animation/scroll_offset_animation_curve_unittest.cc", | 657 "animation/scroll_offset_animation_curve_unittest.cc", |
653 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | 658 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", |
654 "animation/scrollbar_animation_controller_thinning_unittest.cc", | 659 "animation/scrollbar_animation_controller_thinning_unittest.cc", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 "test/cc_test_suite.cc", | 774 "test/cc_test_suite.cc", |
770 ] | 775 ] |
771 | 776 |
772 deps = [ | 777 deps = [ |
773 ":cc", | 778 ":cc", |
774 ":test_support", | 779 ":test_support", |
775 "//base/test:test_support", | 780 "//base/test:test_support", |
776 "//cc/surfaces", | 781 "//cc/surfaces", |
777 "//gpu", | 782 "//gpu", |
778 "//gpu:test_support", | 783 "//gpu:test_support", |
| 784 "//gpu/command_buffer/client:gles2_interface", |
779 "//gpu/command_buffer/common:gles2_utils", | 785 "//gpu/command_buffer/common:gles2_utils", |
780 "//media", | 786 "//media", |
781 "//testing/gmock", | 787 "//testing/gmock", |
782 "//testing/gtest", | 788 "//testing/gtest", |
783 "//ui/events:events_base", | 789 "//ui/events:events_base", |
784 "//ui/gfx", | 790 "//ui/gfx", |
785 "//ui/gfx/geometry", | 791 "//ui/gfx/geometry", |
786 ] | 792 ] |
787 } | 793 } |
788 | 794 |
(...skipping 22 matching lines...) Expand all Loading... |
811 "//gpu/command_buffer/common:gles2_utils", | 817 "//gpu/command_buffer/common:gles2_utils", |
812 "//media", | 818 "//media", |
813 "//skia", | 819 "//skia", |
814 "//testing/gmock", | 820 "//testing/gmock", |
815 "//testing/gtest", | 821 "//testing/gtest", |
816 "//testing/perf", | 822 "//testing/perf", |
817 "//ui/gfx", | 823 "//ui/gfx", |
818 "//ui/gfx/geometry", | 824 "//ui/gfx/geometry", |
819 ] | 825 ] |
820 } | 826 } |
OLD | NEW |