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