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", | 10 "animation/animation.cc", |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 "surfaces/surface_manager_unittest.cc", | 919 "surfaces/surface_manager_unittest.cc", |
920 "surfaces/surface_unittest.cc", | 920 "surfaces/surface_unittest.cc", |
921 "surfaces/surfaces_pixeltest.cc", | 921 "surfaces/surfaces_pixeltest.cc", |
922 | 922 |
923 # Setup. | 923 # Setup. |
924 "test/cc_test_suite.cc", | 924 "test/cc_test_suite.cc", |
925 "test/run_all_unittests.cc", | 925 "test/run_all_unittests.cc", |
926 ] | 926 ] |
927 | 927 |
928 configs += [ "//build/config:precompiled_headers" ] | 928 configs += [ "//build/config:precompiled_headers" ] |
929 if (!is_android) { | 929 data = [ |
930 data = [ | 930 "test/data/", |
931 "test/data/", | 931 ] |
932 ] | |
933 } | |
934 | 932 |
935 deps = [ | 933 deps = [ |
936 ":cc", | 934 ":cc", |
937 ":test_support", | 935 ":test_support", |
938 "//base/test:test_support", | 936 "//base/test:test_support", |
939 "//cc/proto", | 937 "//cc/proto", |
940 "//cc/surfaces", | 938 "//cc/surfaces", |
941 "//cc/surfaces:surface_id", | 939 "//cc/surfaces:surface_id", |
942 "//gpu", | 940 "//gpu", |
943 "//gpu:test_support", | 941 "//gpu:test_support", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 "//ui/gl", | 996 "//ui/gl", |
999 "//ui/gl:test_support", | 997 "//ui/gl:test_support", |
1000 ] | 998 ] |
1001 | 999 |
1002 if (is_android) { | 1000 if (is_android) { |
1003 isolate_file = "cc_perftests.isolate" | 1001 isolate_file = "cc_perftests.isolate" |
1004 } | 1002 } |
1005 } | 1003 } |
1006 # When adding support for isolates, please have a look at run-time dependencies | 1004 # When adding support for isolates, please have a look at run-time dependencies |
1007 # in the cc_unittests_run target in cc_tests.gyp. | 1005 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |