Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: cc/BUILD.gn

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/toolchain/win/midl.gni ('k') | cc/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 "//ui/gfx/geometry", 711 "//ui/gfx/geometry",
712 "//ui/gfx:test_support", 712 "//ui/gfx:test_support",
713 "//ui/gl", 713 "//ui/gl",
714 ] 714 ]
715 715
716 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 716 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
717 deps += [ "//third_party/mesa:osmesa" ] 717 deps += [ "//third_party/mesa:osmesa" ]
718 } 718 }
719 } 719 }
720 720
721 if (!is_win || link_chrome_on_windows) { 721 test("cc_unittests") {
722 test("cc_unittests") { 722 sources = [
723 sources = [ 723 "animation/animation_unittest.cc",
724 "animation/animation_unittest.cc", 724 "animation/keyframed_animation_curve_unittest.cc",
725 "animation/keyframed_animation_curve_unittest.cc", 725 "animation/layer_animation_controller_unittest.cc",
726 "animation/layer_animation_controller_unittest.cc", 726 "animation/scroll_offset_animation_curve_unittest.cc",
727 "animation/scroll_offset_animation_curve_unittest.cc", 727 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
728 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", 728 "animation/scrollbar_animation_controller_thinning_unittest.cc",
729 "animation/scrollbar_animation_controller_thinning_unittest.cc", 729 "animation/transform_operations_unittest.cc",
730 "animation/transform_operations_unittest.cc", 730 "base/float_quad_unittest.cc",
731 "base/float_quad_unittest.cc", 731 "base/math_util_unittest.cc",
732 "base/math_util_unittest.cc", 732 "base/region_unittest.cc",
733 "base/region_unittest.cc", 733 "base/rolling_time_delta_history_unittest.cc",
734 "base/rolling_time_delta_history_unittest.cc", 734 "base/scoped_ptr_vector_unittest.cc",
735 "base/scoped_ptr_vector_unittest.cc", 735 "base/simple_enclosed_region_unittest.cc",
736 "base/simple_enclosed_region_unittest.cc", 736 "base/tiling_data_unittest.cc",
737 "base/tiling_data_unittest.cc", 737 "base/util_unittest.cc",
738 "base/util_unittest.cc", 738 "debug/frame_timing_tracker_unittest.cc",
739 "debug/frame_timing_tracker_unittest.cc", 739 "debug/micro_benchmark_controller_unittest.cc",
740 "debug/micro_benchmark_controller_unittest.cc", 740 "input/top_controls_manager_unittest.cc",
741 "input/top_controls_manager_unittest.cc", 741 "layers/contents_scaling_layer_unittest.cc",
742 "layers/contents_scaling_layer_unittest.cc", 742 "layers/delegated_frame_provider_unittest.cc",
743 "layers/delegated_frame_provider_unittest.cc", 743 "layers/delegated_frame_resource_collection_unittest.cc",
744 "layers/delegated_frame_resource_collection_unittest.cc", 744 "layers/delegated_renderer_layer_impl_unittest.cc",
745 "layers/delegated_renderer_layer_impl_unittest.cc", 745 "layers/delegated_renderer_layer_unittest.cc",
746 "layers/delegated_renderer_layer_unittest.cc", 746 "layers/heads_up_display_layer_impl_unittest.cc",
747 "layers/heads_up_display_layer_impl_unittest.cc", 747 "layers/heads_up_display_unittest.cc",
748 "layers/heads_up_display_unittest.cc", 748 "layers/io_surface_layer_impl_unittest.cc",
749 "layers/io_surface_layer_impl_unittest.cc", 749 "layers/layer_impl_unittest.cc",
750 "layers/layer_impl_unittest.cc", 750 "layers/layer_iterator_unittest.cc",
751 "layers/layer_iterator_unittest.cc", 751 "layers/layer_position_constraint_unittest.cc",
752 "layers/layer_position_constraint_unittest.cc", 752 "layers/layer_unittest.cc",
753 "layers/layer_unittest.cc", 753 "layers/layer_utils_unittest.cc",
754 "layers/layer_utils_unittest.cc", 754 "layers/nine_patch_layer_impl_unittest.cc",
755 "layers/nine_patch_layer_impl_unittest.cc", 755 "layers/nine_patch_layer_unittest.cc",
756 "layers/nine_patch_layer_unittest.cc", 756 "layers/painted_scrollbar_layer_impl_unittest.cc",
757 "layers/painted_scrollbar_layer_impl_unittest.cc", 757 "layers/picture_image_layer_impl_unittest.cc",
758 "layers/picture_image_layer_impl_unittest.cc", 758 "layers/picture_image_layer_unittest.cc",
759 "layers/picture_image_layer_unittest.cc", 759 "layers/picture_layer_impl_unittest.cc",
760 "layers/picture_layer_impl_unittest.cc", 760 "layers/picture_layer_unittest.cc",
761 "layers/picture_layer_unittest.cc", 761 "layers/render_surface_impl_unittest.cc",
762 "layers/render_surface_impl_unittest.cc", 762 "layers/render_surface_unittest.cc",
763 "layers/render_surface_unittest.cc", 763 "layers/scrollbar_layer_unittest.cc",
764 "layers/scrollbar_layer_unittest.cc", 764 "layers/solid_color_layer_impl_unittest.cc",
765 "layers/solid_color_layer_impl_unittest.cc", 765 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
766 "layers/solid_color_scrollbar_layer_impl_unittest.cc", 766 "layers/surface_layer_impl_unittest.cc",
767 "layers/surface_layer_impl_unittest.cc", 767 "layers/surface_layer_unittest.cc",
768 "layers/surface_layer_unittest.cc", 768 "layers/texture_layer_impl_unittest.cc",
769 "layers/texture_layer_impl_unittest.cc", 769 "layers/texture_layer_unittest.cc",
770 "layers/texture_layer_unittest.cc", 770 "layers/tiled_layer_impl_unittest.cc",
771 "layers/tiled_layer_impl_unittest.cc", 771 "layers/tiled_layer_unittest.cc",
772 "layers/tiled_layer_unittest.cc", 772 "layers/ui_resource_layer_impl_unittest.cc",
773 "layers/ui_resource_layer_impl_unittest.cc", 773 "layers/ui_resource_layer_unittest.cc",
774 "layers/ui_resource_layer_unittest.cc", 774 "output/begin_frame_args_unittest.cc",
775 "output/begin_frame_args_unittest.cc", 775 "output/delegating_renderer_unittest.cc",
776 "output/delegating_renderer_unittest.cc", 776 "output/filter_operations_unittest.cc",
777 "output/filter_operations_unittest.cc", 777 "output/gl_renderer_unittest.cc",
778 "output/gl_renderer_unittest.cc", 778 "output/output_surface_unittest.cc",
779 "output/output_surface_unittest.cc", 779 "output/overlay_unittest.cc",
780 "output/overlay_unittest.cc", 780 "output/renderer_pixeltest.cc",
781 "output/renderer_pixeltest.cc", 781 "output/renderer_unittest.cc",
782 "output/renderer_unittest.cc", 782 "output/shader_unittest.cc",
783 "output/shader_unittest.cc", 783 "output/software_renderer_unittest.cc",
784 "output/software_renderer_unittest.cc", 784 "quads/draw_quad_unittest.cc",
785 "quads/draw_quad_unittest.cc", 785 "quads/list_container_unittest.cc",
786 "quads/list_container_unittest.cc", 786 "quads/render_pass_unittest.cc",
787 "quads/render_pass_unittest.cc", 787 "resources/display_item_list_unittest.cc",
788 "resources/display_item_list_unittest.cc", 788 "resources/layer_quad_unittest.cc",
789 "resources/layer_quad_unittest.cc", 789 "resources/picture_layer_tiling_set_unittest.cc",
790 "resources/picture_layer_tiling_set_unittest.cc", 790 "resources/picture_layer_tiling_unittest.cc",
791 "resources/picture_layer_tiling_unittest.cc", 791 "resources/picture_pile_impl_unittest.cc",
792 "resources/picture_pile_impl_unittest.cc", 792 "resources/picture_pile_unittest.cc",
793 "resources/picture_pile_unittest.cc", 793 "resources/picture_unittest.cc",
794 "resources/picture_unittest.cc", 794 "resources/platform_color_unittest.cc",
795 "resources/platform_color_unittest.cc", 795 "resources/prioritized_resource_unittest.cc",
796 "resources/prioritized_resource_unittest.cc", 796 "resources/resource_provider_unittest.cc",
797 "resources/resource_provider_unittest.cc", 797 "resources/resource_update_controller_unittest.cc",
798 "resources/resource_update_controller_unittest.cc", 798 "resources/scoped_gpu_raster_unittest.cc",
799 "resources/scoped_gpu_raster_unittest.cc", 799 "resources/scoped_resource_unittest.cc",
800 "resources/scoped_resource_unittest.cc", 800 "resources/task_graph_runner_unittest.cc",
801 "resources/task_graph_runner_unittest.cc", 801 "resources/texture_mailbox_deleter_unittest.cc",
802 "resources/texture_mailbox_deleter_unittest.cc", 802 "resources/texture_uploader_unittest.cc",
803 "resources/texture_uploader_unittest.cc", 803 "resources/tile_manager_unittest.cc",
804 "resources/tile_manager_unittest.cc", 804 "resources/tile_priority_unittest.cc",
805 "resources/tile_priority_unittest.cc", 805 "resources/tile_task_worker_pool_unittest.cc",
806 "resources/tile_task_worker_pool_unittest.cc", 806 "resources/video_resource_updater_unittest.cc",
807 "scheduler/begin_frame_source_unittest.cc", 807 "scheduler/begin_frame_source_unittest.cc",
808 "scheduler/delay_based_time_source_unittest.cc", 808 "scheduler/delay_based_time_source_unittest.cc",
809 "scheduler/scheduler_state_machine_unittest.cc", 809 "scheduler/scheduler_state_machine_unittest.cc",
810 "scheduler/scheduler_unittest.cc", 810 "scheduler/scheduler_unittest.cc",
811 "test/layer_tree_json_parser_unittest.cc", 811 "test/layer_tree_json_parser_unittest.cc",
812 "test/test_web_graphics_context_3d_unittest.cc", 812 "test/test_web_graphics_context_3d_unittest.cc",
813 "trees/blocking_task_runner_unittest.cc", 813 "trees/blocking_task_runner_unittest.cc",
814 "trees/damage_tracker_unittest.cc", 814 "trees/damage_tracker_unittest.cc",
815 "trees/layer_sorter_unittest.cc", 815 "trees/layer_sorter_unittest.cc",
816 "trees/layer_tree_host_common_unittest.cc", 816 "trees/layer_tree_host_common_unittest.cc",
817 "trees/layer_tree_host_impl_unittest.cc", 817 "trees/layer_tree_host_impl_unittest.cc",
818 "trees/layer_tree_host_pixeltest_blending.cc", 818 "trees/layer_tree_host_pixeltest_blending.cc",
819 "trees/layer_tree_host_pixeltest_filters.cc", 819 "trees/layer_tree_host_pixeltest_filters.cc",
820 "trees/layer_tree_host_pixeltest_masks.cc", 820 "trees/layer_tree_host_pixeltest_masks.cc",
821 "trees/layer_tree_host_pixeltest_readback.cc", 821 "trees/layer_tree_host_pixeltest_readback.cc",
822 "trees/layer_tree_host_pixeltest_synchronous.cc", 822 "trees/layer_tree_host_pixeltest_synchronous.cc",
823 "trees/layer_tree_host_unittest.cc", 823 "trees/layer_tree_host_unittest.cc",
824 "trees/layer_tree_host_unittest_animation.cc", 824 "trees/layer_tree_host_unittest_animation.cc",
825 "trees/layer_tree_host_unittest_context.cc", 825 "trees/layer_tree_host_unittest_context.cc",
826 "trees/layer_tree_host_unittest_copyrequest.cc", 826 "trees/layer_tree_host_unittest_copyrequest.cc",
827 "trees/layer_tree_host_unittest_damage.cc", 827 "trees/layer_tree_host_unittest_damage.cc",
828 "trees/layer_tree_host_unittest_delegated.cc", 828 "trees/layer_tree_host_unittest_delegated.cc",
829 "trees/layer_tree_host_unittest_no_message_loop.cc", 829 "trees/layer_tree_host_unittest_no_message_loop.cc",
830 "trees/layer_tree_host_unittest_occlusion.cc", 830 "trees/layer_tree_host_unittest_occlusion.cc",
831 "trees/layer_tree_host_unittest_picture.cc", 831 "trees/layer_tree_host_unittest_picture.cc",
832 "trees/layer_tree_host_unittest_proxy.cc", 832 "trees/layer_tree_host_unittest_proxy.cc",
833 "trees/layer_tree_host_unittest_scroll.cc", 833 "trees/layer_tree_host_unittest_scroll.cc",
834 "trees/layer_tree_impl_unittest.cc", 834 "trees/layer_tree_impl_unittest.cc",
835 "trees/occlusion_tracker_unittest.cc", 835 "trees/occlusion_tracker_unittest.cc",
836 "trees/occlusion_unittest.cc", 836 "trees/occlusion_unittest.cc",
837 "trees/property_tree_unittest.cc", 837 "trees/property_tree_unittest.cc",
838 "trees/tree_synchronizer_unittest.cc", 838 "trees/tree_synchronizer_unittest.cc",
839 839
840 # Surfaces test files. 840 # Surfaces test files.
841 "surfaces/surface_aggregator_test_helpers.cc", 841 "surfaces/surface_aggregator_test_helpers.cc",
842 "surfaces/surface_aggregator_test_helpers.h", 842 "surfaces/surface_aggregator_test_helpers.h",
843 "surfaces/surface_aggregator_unittest.cc", 843 "surfaces/surface_aggregator_unittest.cc",
844 "surfaces/surface_unittest.cc", 844 "surfaces/surface_unittest.cc",
845 "surfaces/surfaces_pixeltest.cc", 845 "surfaces/surfaces_pixeltest.cc",
846 846
847 # Setup. 847 # Setup.
848 "test/cc_test_suite.cc", 848 "test/cc_test_suite.cc",
849 "test/run_all_unittests.cc", 849 "test/run_all_unittests.cc",
850 ] 850 ]
851 851
852 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 852 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
853 853
854 deps = [ 854 deps = [
855 ":cc", 855 ":cc",
856 ":test_support", 856 ":test_support",
857 "//base/test:test_support", 857 "//base/test:test_support",
858 "//cc/surfaces", 858 "//cc/surfaces",
859 "//cc/surfaces:surface_id", 859 "//cc/surfaces:surface_id",
860 "//gpu", 860 "//gpu",
861 "//gpu:test_support", 861 "//gpu:test_support",
862 "//gpu/command_buffer/client:gles2_interface", 862 "//gpu/command_buffer/client:gles2_interface",
863 "//gpu/command_buffer/common:gles2_utils", 863 "//gpu/command_buffer/common:gles2_utils",
864 "//testing/gmock", 864 "//testing/gmock",
865 "//testing/gtest", 865 "//testing/gtest",
866 "//ui/events:events_base", 866 "//ui/events:events_base",
867 "//ui/gfx", 867 "//ui/gfx",
868 "//ui/gfx/geometry", 868 "//ui/gfx/geometry",
869 "//ui/gfx:test_support", 869 "//ui/gfx:test_support",
870 "//ui/gl", 870 "//ui/gl",
871 ] 871 ]
872 }
873 } 872 }
874 873
875 test("cc_perftests") { 874 test("cc_perftests") {
876 sources = [ 875 sources = [
877 "layers/layer_perftest.cc", 876 "layers/layer_perftest.cc",
878 "layers/picture_layer_impl_perftest.cc", 877 "layers/picture_layer_impl_perftest.cc",
879 "resources/picture_layer_tiling_perftest.cc", 878 "resources/picture_layer_tiling_perftest.cc",
880 "resources/picture_pile_impl_perftest.cc", 879 "resources/picture_pile_impl_perftest.cc",
881 "resources/task_graph_runner_perftest.cc", 880 "resources/task_graph_runner_perftest.cc",
882 "resources/tile_manager_perftest.cc", 881 "resources/tile_manager_perftest.cc",
(...skipping 17 matching lines...) Expand all
900 "//gpu/command_buffer/common:gles2_utils", 899 "//gpu/command_buffer/common:gles2_utils",
901 "//skia", 900 "//skia",
902 "//testing/gmock", 901 "//testing/gmock",
903 "//testing/gtest", 902 "//testing/gtest",
904 "//testing/perf", 903 "//testing/perf",
905 "//ui/gfx", 904 "//ui/gfx",
906 "//ui/gfx/geometry", 905 "//ui/gfx/geometry",
907 "//ui/gl", 906 "//ui/gl",
908 ] 907 ]
909 } 908 }
OLDNEW
« no previous file with comments | « build/toolchain/win/midl.gni ('k') | cc/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698