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