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", | |
11 "animation/animation.h", | |
12 "animation/animation_curve.cc", | |
13 "animation/animation_curve.h", | |
14 "animation/animation_delegate.h", | |
15 "animation/animation_events.cc", | |
16 "animation/animation_events.h", | |
17 "animation/animation_host.cc", | |
18 "animation/animation_host.h", | |
19 "animation/animation_id_provider.cc", | |
20 "animation/animation_id_provider.h", | |
21 "animation/animation_player.cc", | |
22 "animation/animation_player.h", | |
23 "animation/animation_timeline.cc", | |
24 "animation/animation_timeline.h", | |
25 "animation/element_animations.cc", | |
26 "animation/element_animations.h", | |
27 "animation/keyframed_animation_curve.cc", | |
28 "animation/keyframed_animation_curve.h", | |
29 "animation/scroll_offset_animation_curve.cc", | |
30 "animation/scroll_offset_animation_curve.h", | |
31 "animation/scroll_offset_animations.cc", | |
32 "animation/scroll_offset_animations.h", | |
33 "animation/scroll_offset_animations_impl.cc", | |
34 "animation/scroll_offset_animations_impl.h", | |
35 "animation/timing_function.cc", | |
36 "animation/timing_function.h", | |
37 "animation/transform_operation.cc", | |
38 "animation/transform_operation.h", | |
39 "animation/transform_operations.cc", | |
40 "animation/transform_operations.h", | |
41 "blimp/client_picture_cache.h", | 10 "blimp/client_picture_cache.h", |
42 "blimp/compositor_proto_state.cc", | 11 "blimp/compositor_proto_state.cc", |
43 "blimp/compositor_proto_state.h", | 12 "blimp/compositor_proto_state.h", |
44 "blimp/compositor_state_deserializer.cc", | 13 "blimp/compositor_state_deserializer.cc", |
45 "blimp/compositor_state_deserializer.h", | 14 "blimp/compositor_state_deserializer.h", |
46 "blimp/deserialized_content_layer_client.cc", | 15 "blimp/deserialized_content_layer_client.cc", |
47 "blimp/deserialized_content_layer_client.h", | 16 "blimp/deserialized_content_layer_client.h", |
48 "blimp/engine_picture_cache.h", | 17 "blimp/engine_picture_cache.h", |
49 "blimp/image_serialization_processor.h", | 18 "blimp/image_serialization_processor.h", |
50 "blimp/layer_factory.h", | 19 "blimp/layer_factory.h", |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 "test/test_tile_task_runner.cc", | 751 "test/test_tile_task_runner.cc", |
783 "test/test_tile_task_runner.h", | 752 "test/test_tile_task_runner.h", |
784 "test/test_web_graphics_context_3d.cc", | 753 "test/test_web_graphics_context_3d.cc", |
785 "test/test_web_graphics_context_3d.h", | 754 "test/test_web_graphics_context_3d.h", |
786 ] | 755 ] |
787 | 756 |
788 configs += [ "//build/config:precompiled_headers" ] | 757 configs += [ "//build/config:precompiled_headers" ] |
789 | 758 |
790 public_deps = [ | 759 public_deps = [ |
791 ":cc", | 760 ":cc", |
| 761 "//cc/animation", |
792 "//gpu:test_support", | 762 "//gpu:test_support", |
793 ] | 763 ] |
794 deps = [ | 764 deps = [ |
795 "//base", | 765 "//base", |
796 "//base/test:test_support", | 766 "//base/test:test_support", |
797 "//base/third_party/dynamic_annotations", | 767 "//base/third_party/dynamic_annotations", |
798 "//cc/proto", | 768 "//cc/proto", |
799 "//cc/surfaces", | 769 "//cc/surfaces", |
800 "//cc/surfaces:surface_id", | 770 "//cc/surfaces:surface_id", |
801 "//gpu/command_buffer/client:gles2_c_lib", | 771 "//gpu/command_buffer/client:gles2_c_lib", |
(...skipping 13 matching lines...) Expand all Loading... |
815 ] | 785 ] |
816 if (!is_android) { | 786 if (!is_android) { |
817 data_deps = [ | 787 data_deps = [ |
818 "//third_party/mesa:osmesa", | 788 "//third_party/mesa:osmesa", |
819 ] | 789 ] |
820 } | 790 } |
821 } | 791 } |
822 | 792 |
823 test("cc_unittests") { | 793 test("cc_unittests") { |
824 sources = [ | 794 sources = [ |
825 "animation/animation_host_unittest.cc", | |
826 "animation/animation_player_unittest.cc", | |
827 "animation/animation_timeline_unittest.cc", | |
828 "animation/animation_unittest.cc", | |
829 "animation/element_animations_unittest.cc", | |
830 "animation/keyframed_animation_curve_unittest.cc", | |
831 "animation/scroll_offset_animation_curve_unittest.cc", | |
832 "animation/transform_operations_unittest.cc", | |
833 "base/contiguous_container_unittest.cc", | 795 "base/contiguous_container_unittest.cc", |
834 "base/delayed_unique_notifier_unittest.cc", | 796 "base/delayed_unique_notifier_unittest.cc", |
835 "base/float_quad_unittest.cc", | 797 "base/float_quad_unittest.cc", |
836 "base/histograms_unittest.cc", | 798 "base/histograms_unittest.cc", |
837 "base/index_rect_unittest.cc", | 799 "base/index_rect_unittest.cc", |
838 "base/list_container_unittest.cc", | 800 "base/list_container_unittest.cc", |
839 "base/math_util_unittest.cc", | 801 "base/math_util_unittest.cc", |
840 "base/random_access_list_container_unittest.cc", | 802 "base/random_access_list_container_unittest.cc", |
841 "base/region_unittest.cc", | 803 "base/region_unittest.cc", |
842 "base/rolling_time_delta_history_unittest.cc", | 804 "base/rolling_time_delta_history_unittest.cc", |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 "trees/layer_tree_host_unittest_record_gpu_histogram.cc", | 925 "trees/layer_tree_host_unittest_record_gpu_histogram.cc", |
964 "trees/layer_tree_host_unittest_scroll.cc", | 926 "trees/layer_tree_host_unittest_scroll.cc", |
965 "trees/layer_tree_host_unittest_video.cc", | 927 "trees/layer_tree_host_unittest_video.cc", |
966 "trees/layer_tree_impl_unittest.cc", | 928 "trees/layer_tree_impl_unittest.cc", |
967 "trees/occlusion_tracker_unittest.cc", | 929 "trees/occlusion_tracker_unittest.cc", |
968 "trees/occlusion_unittest.cc", | 930 "trees/occlusion_unittest.cc", |
969 "trees/property_tree_unittest.cc", | 931 "trees/property_tree_unittest.cc", |
970 "trees/swap_promise_manager_unittest.cc", | 932 "trees/swap_promise_manager_unittest.cc", |
971 "trees/tree_synchronizer_unittest.cc", | 933 "trees/tree_synchronizer_unittest.cc", |
972 | 934 |
| 935 # Animation test files. |
| 936 "animation/animation_host_unittest.cc", |
| 937 "animation/animation_player_unittest.cc", |
| 938 "animation/animation_timeline_unittest.cc", |
| 939 "animation/animation_unittest.cc", |
| 940 "animation/element_animations_unittest.cc", |
| 941 "animation/keyframed_animation_curve_unittest.cc", |
| 942 "animation/scroll_offset_animation_curve_unittest.cc", |
| 943 "animation/transform_operations_unittest.cc", |
| 944 |
973 # Surfaces test files. | 945 # Surfaces test files. |
974 "surfaces/direct_compositor_frame_sink_unittest.cc", | 946 "surfaces/direct_compositor_frame_sink_unittest.cc", |
975 "surfaces/display_scheduler_unittest.cc", | 947 "surfaces/display_scheduler_unittest.cc", |
976 "surfaces/display_unittest.cc", | 948 "surfaces/display_unittest.cc", |
977 "surfaces/surface_aggregator_unittest.cc", | 949 "surfaces/surface_aggregator_unittest.cc", |
978 "surfaces/surface_factory_unittest.cc", | 950 "surfaces/surface_factory_unittest.cc", |
979 "surfaces/surface_hittest_unittest.cc", | 951 "surfaces/surface_hittest_unittest.cc", |
980 "surfaces/surface_manager_ref_unittest.cc", | 952 "surfaces/surface_manager_ref_unittest.cc", |
981 "surfaces/surface_manager_unittest.cc", | 953 "surfaces/surface_manager_unittest.cc", |
982 "surfaces/surface_sequence_generator_unittest.cc", | 954 "surfaces/surface_sequence_generator_unittest.cc", |
983 "surfaces/surface_unittest.cc", | 955 "surfaces/surface_unittest.cc", |
984 "surfaces/surfaces_pixeltest.cc", | 956 "surfaces/surfaces_pixeltest.cc", |
985 | 957 |
986 # Setup. | 958 # Setup. |
987 "test/cc_test_suite.cc", | 959 "test/cc_test_suite.cc", |
988 "test/run_all_unittests.cc", | 960 "test/run_all_unittests.cc", |
989 ] | 961 ] |
990 | 962 |
991 configs += [ "//build/config:precompiled_headers" ] | 963 configs += [ "//build/config:precompiled_headers" ] |
992 if (!is_android) { | 964 if (!is_android) { |
993 data = [ | 965 data = [ |
994 "test/data/", | 966 "test/data/", |
995 ] | 967 ] |
996 } | 968 } |
997 | 969 |
998 deps = [ | 970 deps = [ |
999 ":cc", | 971 ":cc", |
1000 ":test_support", | 972 ":test_support", |
1001 "//base/test:test_support", | 973 "//base/test:test_support", |
| 974 "//cc/animation", |
1002 "//cc/ipc", | 975 "//cc/ipc", |
1003 "//cc/ipc:test_interfaces", | 976 "//cc/ipc:test_interfaces", |
1004 "//cc/proto", | 977 "//cc/proto", |
1005 "//cc/surfaces", | 978 "//cc/surfaces", |
1006 "//cc/surfaces:surface_id", | 979 "//cc/surfaces:surface_id", |
1007 "//gpu", | 980 "//gpu", |
1008 "//gpu:test_support", | 981 "//gpu:test_support", |
1009 "//gpu/command_buffer/client:gles2_interface", | 982 "//gpu/command_buffer/client:gles2_interface", |
1010 "//gpu/command_buffer/common:gles2_utils", | 983 "//gpu/command_buffer/common:gles2_utils", |
1011 "//media", | 984 "//media", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 "tiles/tile_manager_perftest.cc", | 1016 "tiles/tile_manager_perftest.cc", |
1044 "trees/layer_tree_host_common_perftest.cc", | 1017 "trees/layer_tree_host_common_perftest.cc", |
1045 "trees/layer_tree_host_perftest.cc", | 1018 "trees/layer_tree_host_perftest.cc", |
1046 ] | 1019 ] |
1047 | 1020 |
1048 deps = [ | 1021 deps = [ |
1049 ":cc", | 1022 ":cc", |
1050 ":test_support", | 1023 ":test_support", |
1051 "//base", | 1024 "//base", |
1052 "//base/test:test_support", | 1025 "//base/test:test_support", |
| 1026 "//cc/animation", |
1053 "//cc/ipc", | 1027 "//cc/ipc", |
1054 "//cc/ipc:interfaces", | 1028 "//cc/ipc:interfaces", |
1055 "//cc/surfaces", | 1029 "//cc/surfaces", |
1056 "//cc/surfaces:surface_id", | 1030 "//cc/surfaces:surface_id", |
1057 "//gpu", | 1031 "//gpu", |
1058 "//gpu:test_support", | 1032 "//gpu:test_support", |
1059 "//gpu/command_buffer/common:gles2_utils", | 1033 "//gpu/command_buffer/common:gles2_utils", |
1060 "//media", | 1034 "//media", |
1061 "//mojo/edk/system", | 1035 "//mojo/edk/system", |
1062 "//mojo/public/cpp/bindings", | 1036 "//mojo/public/cpp/bindings", |
(...skipping 13 matching lines...) Expand all Loading... |
1076 data = [ | 1050 data = [ |
1077 "test/data/", | 1051 "test/data/", |
1078 | 1052 |
1079 # Needed for isolate script to execute. | 1053 # Needed for isolate script to execute. |
1080 "//testing/scripts/common.py", | 1054 "//testing/scripts/common.py", |
1081 "//testing/xvfb.py", | 1055 "//testing/xvfb.py", |
1082 "//testing/scripts/run_gtest_perf_test.py", | 1056 "//testing/scripts/run_gtest_perf_test.py", |
1083 "//tools/perf/generate_legacy_perf_dashboard_json.py", | 1057 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
1084 ] | 1058 ] |
1085 } | 1059 } |
OLD | NEW |