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", |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 "trees/tree_synchronizer.h", | 502 "trees/tree_synchronizer.h", |
503 ] | 503 ] |
504 | 504 |
505 if (target_cpu == "x86" || target_cpu == "x64") { | 505 if (target_cpu == "x86" || target_cpu == "x64") { |
506 sources += [ | 506 sources += [ |
507 "raster/texture_compressor_etc1_sse.cc", | 507 "raster/texture_compressor_etc1_sse.cc", |
508 "raster/texture_compressor_etc1_sse.h", | 508 "raster/texture_compressor_etc1_sse.h", |
509 ] | 509 ] |
510 } | 510 } |
511 | 511 |
512 configs += [ "//build/config:precompiled_headers" ] | |
513 | |
514 public_deps = [ | 512 public_deps = [ |
515 "//cc/base", | 513 "//cc/base", |
516 "//skia", | 514 "//skia", |
517 ] | 515 ] |
518 deps = [ | 516 deps = [ |
519 "//base", | 517 "//base", |
520 "//base/third_party/dynamic_annotations", | 518 "//base/third_party/dynamic_annotations", |
521 "//cc/surfaces:surface_id", | 519 "//cc/surfaces:surface_id", |
522 "//gpu", | 520 "//gpu", |
523 "//gpu/command_buffer/client:gles2_interface", | 521 "//gpu/command_buffer/client:gles2_interface", |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 "test/test_task_graph_runner.cc", | 655 "test/test_task_graph_runner.cc", |
658 "test/test_task_graph_runner.h", | 656 "test/test_task_graph_runner.h", |
659 "test/test_texture.cc", | 657 "test/test_texture.cc", |
660 "test/test_texture.h", | 658 "test/test_texture.h", |
661 "test/test_tile_priorities.cc", | 659 "test/test_tile_priorities.cc", |
662 "test/test_tile_priorities.h", | 660 "test/test_tile_priorities.h", |
663 "test/test_web_graphics_context_3d.cc", | 661 "test/test_web_graphics_context_3d.cc", |
664 "test/test_web_graphics_context_3d.h", | 662 "test/test_web_graphics_context_3d.h", |
665 ] | 663 ] |
666 | 664 |
667 configs += [ "//build/config:precompiled_headers" ] | |
668 include_dirs = [ | 665 include_dirs = [ |
669 ".", | 666 ".", |
670 "test", | 667 "test", |
671 ] | 668 ] |
672 | 669 |
673 public_deps = [ | 670 public_deps = [ |
674 ":cc", | 671 ":cc", |
675 "//gpu:test_support", | 672 "//gpu:test_support", |
676 ] | 673 ] |
677 deps = [ | 674 deps = [ |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 "surfaces/surface_aggregator_test_helpers.h", | 838 "surfaces/surface_aggregator_test_helpers.h", |
842 "surfaces/surface_aggregator_unittest.cc", | 839 "surfaces/surface_aggregator_unittest.cc", |
843 "surfaces/surface_unittest.cc", | 840 "surfaces/surface_unittest.cc", |
844 "surfaces/surfaces_pixeltest.cc", | 841 "surfaces/surfaces_pixeltest.cc", |
845 | 842 |
846 # Setup. | 843 # Setup. |
847 "test/cc_test_suite.cc", | 844 "test/cc_test_suite.cc", |
848 "test/run_all_unittests.cc", | 845 "test/run_all_unittests.cc", |
849 ] | 846 ] |
850 | 847 |
851 configs += [ "//build/config:precompiled_headers" ] | |
852 data = [ | 848 data = [ |
853 "test/data/", | 849 "test/data/", |
854 ] | 850 ] |
855 | 851 |
856 deps = [ | 852 deps = [ |
857 ":cc", | 853 ":cc", |
858 ":test_support", | 854 ":test_support", |
859 "//base/test:test_support", | 855 "//base/test:test_support", |
860 "//cc/surfaces", | 856 "//cc/surfaces", |
861 "//cc/surfaces:surface_id", | 857 "//cc/surfaces:surface_id", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 "//ui/gl", | 912 "//ui/gl", |
917 "//ui/gl:test_support", | 913 "//ui/gl:test_support", |
918 ] | 914 ] |
919 | 915 |
920 if (is_android) { | 916 if (is_android) { |
921 isolate_file = "cc_perftests.isolate" | 917 isolate_file = "cc_perftests.isolate" |
922 } | 918 } |
923 } | 919 } |
924 # When adding support for isolates, please have a look at run-time dependencies | 920 # When adding support for isolates, please have a look at run-time dependencies |
925 # in the cc_unittests_run target in cc_tests.gyp. | 921 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |