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", |
11 "animation/animation_curve.cc", | 11 "animation/animation_curve.cc", |
12 "animation/animation_curve.h", | 12 "animation/animation_curve.h", |
13 "animation/animation_delegate.h", | 13 "animation/animation_delegate.h", |
14 "animation/animation_events.cc", | 14 "animation/animation_events.cc", |
15 "animation/animation_events.h", | 15 "animation/animation_events.h", |
| 16 "animation/animation_host.cc", |
| 17 "animation/animation_host.h", |
16 "animation/animation_id_provider.cc", | 18 "animation/animation_id_provider.cc", |
17 "animation/animation_id_provider.h", | 19 "animation/animation_id_provider.h", |
| 20 "animation/animation_player.cc", |
| 21 "animation/animation_player.h", |
18 "animation/animation_registrar.cc", | 22 "animation/animation_registrar.cc", |
19 "animation/animation_registrar.h", | 23 "animation/animation_registrar.h", |
| 24 "animation/animation_timeline.cc", |
| 25 "animation/animation_timeline.h", |
| 26 "animation/element_animations.cc", |
| 27 "animation/element_animations.h", |
20 "animation/keyframed_animation_curve.cc", | 28 "animation/keyframed_animation_curve.cc", |
21 "animation/keyframed_animation_curve.h", | 29 "animation/keyframed_animation_curve.h", |
22 "animation/layer_animation_controller.cc", | 30 "animation/layer_animation_controller.cc", |
23 "animation/layer_animation_controller.h", | 31 "animation/layer_animation_controller.h", |
24 "animation/layer_animation_event_observer.h", | 32 "animation/layer_animation_event_observer.h", |
25 "animation/layer_animation_value_observer.h", | 33 "animation/layer_animation_value_observer.h", |
26 "animation/layer_animation_value_provider.h", | 34 "animation/layer_animation_value_provider.h", |
27 "animation/scroll_offset_animation_curve.cc", | 35 "animation/scroll_offset_animation_curve.cc", |
28 "animation/scroll_offset_animation_curve.h", | 36 "animation/scroll_offset_animation_curve.h", |
29 "animation/scrollbar_animation_controller.cc", | 37 "animation/scrollbar_animation_controller.cc", |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 "trees/layer_tree_host_client.h", | 473 "trees/layer_tree_host_client.h", |
466 "trees/layer_tree_host_common.cc", | 474 "trees/layer_tree_host_common.cc", |
467 "trees/layer_tree_host_common.h", | 475 "trees/layer_tree_host_common.h", |
468 "trees/layer_tree_host_impl.cc", | 476 "trees/layer_tree_host_impl.cc", |
469 "trees/layer_tree_host_impl.h", | 477 "trees/layer_tree_host_impl.h", |
470 "trees/layer_tree_host_single_thread_client.h", | 478 "trees/layer_tree_host_single_thread_client.h", |
471 "trees/layer_tree_impl.cc", | 479 "trees/layer_tree_impl.cc", |
472 "trees/layer_tree_impl.h", | 480 "trees/layer_tree_impl.h", |
473 "trees/layer_tree_settings.cc", | 481 "trees/layer_tree_settings.cc", |
474 "trees/layer_tree_settings.h", | 482 "trees/layer_tree_settings.h", |
| 483 "trees/mutator_host_client.h", |
475 "trees/occlusion.cc", | 484 "trees/occlusion.cc", |
476 "trees/occlusion.h", | 485 "trees/occlusion.h", |
477 "trees/occlusion_tracker.cc", | 486 "trees/occlusion_tracker.cc", |
478 "trees/occlusion_tracker.h", | 487 "trees/occlusion_tracker.h", |
479 "trees/property_tree.cc", | 488 "trees/property_tree.cc", |
480 "trees/property_tree.h", | 489 "trees/property_tree.h", |
481 "trees/property_tree_builder.cc", | 490 "trees/property_tree_builder.cc", |
482 "trees/property_tree_builder.h", | 491 "trees/property_tree_builder.h", |
483 "trees/proxy.cc", | 492 "trees/proxy.cc", |
484 "trees/proxy.h", | 493 "trees/proxy.h", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 configs -= [ "//build/config/compiler:optimize" ] | 531 configs -= [ "//build/config/compiler:optimize" ] |
523 configs += [ "//build/config/compiler:optimize_max" ] | 532 configs += [ "//build/config/compiler:optimize_max" ] |
524 } | 533 } |
525 } | 534 } |
526 | 535 |
527 source_set("test_support") { | 536 source_set("test_support") { |
528 testonly = true | 537 testonly = true |
529 sources = [ | 538 sources = [ |
530 "test/animation_test_common.cc", | 539 "test/animation_test_common.cc", |
531 "test/animation_test_common.h", | 540 "test/animation_test_common.h", |
| 541 "test/animation_timelines_test_common.cc", |
| 542 "test/animation_timelines_test_common.h", |
532 "test/begin_frame_args_test.cc", | 543 "test/begin_frame_args_test.cc", |
533 "test/begin_frame_args_test.h", | 544 "test/begin_frame_args_test.h", |
534 "test/failure_output_surface.cc", | 545 "test/failure_output_surface.cc", |
535 "test/failure_output_surface.h", | 546 "test/failure_output_surface.h", |
536 "test/fake_content_layer_client.cc", | 547 "test/fake_content_layer_client.cc", |
537 "test/fake_content_layer_client.h", | 548 "test/fake_content_layer_client.h", |
538 "test/fake_delegated_renderer_layer.cc", | 549 "test/fake_delegated_renderer_layer.cc", |
539 "test/fake_delegated_renderer_layer.h", | 550 "test/fake_delegated_renderer_layer.h", |
540 "test/fake_delegated_renderer_layer_impl.cc", | 551 "test/fake_delegated_renderer_layer_impl.cc", |
541 "test/fake_delegated_renderer_layer_impl.h", | 552 "test/fake_delegated_renderer_layer_impl.h", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 "//ui/gl", | 690 "//ui/gl", |
680 ] | 691 ] |
681 | 692 |
682 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 693 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
683 deps += [ "//third_party/mesa:osmesa" ] | 694 deps += [ "//third_party/mesa:osmesa" ] |
684 } | 695 } |
685 } | 696 } |
686 | 697 |
687 test("cc_unittests") { | 698 test("cc_unittests") { |
688 sources = [ | 699 sources = [ |
| 700 "animation/animation_host_unittest.cc", |
| 701 "animation/animation_player_unittest.cc", |
| 702 "animation/animation_timeline_unittest.cc", |
689 "animation/animation_unittest.cc", | 703 "animation/animation_unittest.cc", |
| 704 "animation/element_animations_unittest.cc", |
690 "animation/keyframed_animation_curve_unittest.cc", | 705 "animation/keyframed_animation_curve_unittest.cc", |
691 "animation/layer_animation_controller_unittest.cc", | 706 "animation/layer_animation_controller_unittest.cc", |
692 "animation/scroll_offset_animation_curve_unittest.cc", | 707 "animation/scroll_offset_animation_curve_unittest.cc", |
693 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | 708 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", |
694 "animation/scrollbar_animation_controller_thinning_unittest.cc", | 709 "animation/scrollbar_animation_controller_thinning_unittest.cc", |
695 "animation/transform_operations_unittest.cc", | 710 "animation/transform_operations_unittest.cc", |
696 "base/float_quad_unittest.cc", | 711 "base/float_quad_unittest.cc", |
697 "base/histograms_unittest.cc", | 712 "base/histograms_unittest.cc", |
698 "base/list_container_unittest.cc", | 713 "base/list_container_unittest.cc", |
699 "base/math_util_unittest.cc", | 714 "base/math_util_unittest.cc", |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 "//ui/gfx/geometry", | 891 "//ui/gfx/geometry", |
877 "//ui/gl", | 892 "//ui/gl", |
878 ] | 893 ] |
879 | 894 |
880 if (is_android) { | 895 if (is_android) { |
881 isolate_file = "cc_perftests.isolate" | 896 isolate_file = "cc_perftests.isolate" |
882 } | 897 } |
883 } | 898 } |
884 # When adding support for isolates, please have a look at run-time dependencies | 899 # When adding support for isolates, please have a look at run-time dependencies |
885 # in the cc_unittests_run target in cc_tests.gyp. | 900 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |