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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 } | 240 } |
241 | 241 |
242 if (enable_extensions) { | 242 if (enable_extensions) { |
243 public_deps += [ | 243 public_deps += [ |
244 "//chrome/common/extensions/api", | 244 "//chrome/common/extensions/api", |
245 "//extensions:test_support", | 245 "//extensions:test_support", |
246 ] | 246 ] |
247 } | 247 } |
248 } | 248 } |
249 | 249 |
250 # For isolate contract. | |
251 group("telemetry_wrapper") { | |
252 testonly = true | |
253 | |
254 data = [ | |
255 "//testing/scripts/common.py", | |
256 "//testing/xvfb.py", | |
Dirk Pranke
2016/10/28 00:24:06
These two files are actually automatically tacked
| |
257 ] | |
258 } | |
259 | |
260 group("telemetry_as_gtest") { | |
261 testonly = true | |
262 | |
263 data = [ | |
264 "//testing/scripts/run_telemetry_as_googletest.py", | |
Dirk Pranke
2016/10/28 00:24:06
This is probably a better comment for your other C
nednguyen
2016/10/28 00:26:37
run_isolated_script_test.py?
Ken Russell (switch to Gerrit)
2016/10/28 00:28:58
Rather, run_xyz_as_isolated_script_test.py. I thin
eyaich1
2016/10/28 12:46:34
Yes I am actually adding another one in crrev.com/
| |
265 ] | |
266 | |
267 data_deps = [ | |
268 ":telemetry_wrapper", | |
269 ] | |
270 } | |
271 | |
272 group("telemetry_benchmark_as_gtest") { | |
eyaich1
2016/10/28 12:46:34
I don't think a separate group is necessary for ea
| |
273 testonly = true | |
274 | |
275 data = [ | |
276 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", | |
277 ] | |
278 | |
279 data_deps = [ | |
280 ":telemetry_wrapper", | |
281 ] | |
282 } | |
283 | |
250 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | 284 # TODO(GYP_GONE): Delete this after we've converted everything to GN. |
251 # The _run targets exist only for compatibility w/ GYP. | 285 # The _run targets exist only for compatibility w/ GYP. |
252 group("telemetry_gpu_test_run") { | 286 group("telemetry_gpu_test_run") { |
253 testonly = true | 287 testonly = true |
254 deps = [ | 288 deps = [ |
255 ":telemetry_gpu_test", | 289 ":telemetry_gpu_test", |
256 ] | 290 ] |
257 } | 291 } |
258 | 292 |
259 group("telemetry_gpu_test") { | 293 group("telemetry_gpu_test") { |
260 testonly = true | 294 testonly = true |
261 deps = [ | 295 deps = [ |
262 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | 296 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
263 ] | 297 ] |
264 | 298 |
265 data = [ | 299 data = [ |
266 # For isolate contract. | |
267 "//testing/scripts/common.py", | |
268 "//testing/xvfb.py", | |
269 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", | |
270 | |
271 "//content/test/gpu/", | 300 "//content/test/gpu/", |
272 "//content/test/data/gpu/", | 301 "//content/test/data/gpu/", |
273 | 302 |
274 # For GpuProcess.video | 303 # For GpuProcess.video |
275 "//content/test/data/media/bear.ogv", | 304 "//content/test/data/media/bear.ogv", |
276 | 305 |
277 # For webgl_conformance | 306 # For webgl_conformance |
278 "//third_party/webgl/", | 307 "//third_party/webgl/", |
279 "//content/test/gpu/run_gpu_test.py", | 308 "//content/test/gpu/run_gpu_test.py", |
280 ] | 309 ] |
310 | |
311 data_deps = [ | |
312 ":telemetry_benchmark_as_gtest", | |
313 ] | |
281 } | 314 } |
282 | 315 |
283 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | 316 # TODO(GYP_GONE): Delete this after we've converted everything to GN. |
284 # The _run targets exist only for compatibility w/ GYP. | 317 # The _run targets exist only for compatibility w/ GYP. |
285 group("telemetry_gpu_integration_test_run") { | 318 group("telemetry_gpu_integration_test_run") { |
286 testonly = true | 319 testonly = true |
287 deps = [ | 320 deps = [ |
288 ":telemetry_gpu_integration_test", | 321 ":telemetry_gpu_integration_test", |
289 ] | 322 ] |
290 } | 323 } |
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1087 deps = [ | 1120 deps = [ |
1088 ":telemetry_unittests", | 1121 ":telemetry_unittests", |
1089 ] | 1122 ] |
1090 } | 1123 } |
1091 | 1124 |
1092 group("telemetry_unittests") { | 1125 group("telemetry_unittests") { |
1093 testonly = true | 1126 testonly = true |
1094 deps = [ | 1127 deps = [ |
1095 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | 1128 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
1096 ] | 1129 ] |
1097 | |
1098 data = [ | 1130 data = [ |
1099 "//tools/perf/run_telemetry_tests", | 1131 "//tools/perf/run_telemetry_tests", |
1100 | 1132 ] |
1101 # For isolate contract. | 1133 data_deps = [ |
1102 "//testing/scripts/common.py", | 1134 ":telemetry_as_gtest", |
1103 "//testing/xvfb.py", | |
1104 "//testing/scripts/run_telemetry_as_googletest.py", | |
1105 ] | 1135 ] |
1106 } | 1136 } |
1107 | 1137 |
1108 group("telemetry_gpu_unittests_run") { | 1138 group("telemetry_gpu_unittests_run") { |
1109 testonly = true | 1139 testonly = true |
1110 deps = [ | 1140 deps = [ |
1111 ":telemetry_gpu_unittests", | 1141 ":telemetry_gpu_unittests", |
1112 ] | 1142 ] |
1113 } | 1143 } |
1114 | 1144 |
1115 group("telemetry_gpu_unittests") { | 1145 group("telemetry_gpu_unittests") { |
1146 testonly = true | |
1116 deps = [ | 1147 deps = [ |
1117 "//third_party/catapult/telemetry:telemetry_test_support", | 1148 "//third_party/catapult/telemetry:telemetry_test_support", |
1118 ] | 1149 ] |
1119 data = [ | 1150 data = [ |
1120 # TODO(kbr): refactor the telemetry dependencies more cleanly. | 1151 # TODO(kbr): refactor the telemetry dependencies more cleanly. |
1121 "//content/test/gpu/", | 1152 "//content/test/gpu/", |
1122 "//content/test/data/gpu/", | 1153 "//content/test/data/gpu/", |
1123 | 1154 |
1124 # For GpuProcess.video | 1155 # For GpuProcess.video |
1125 "//content/test/data/media/bear.ogv", | 1156 "//content/test/data/media/bear.ogv", |
1126 | 1157 |
1127 # For webgl_conformance_expectations_unittest | 1158 # For webgl_conformance_expectations_unittest |
1128 "//third_party/webgl/src/sdk/tests/", | 1159 "//third_party/webgl/src/sdk/tests/", |
1129 | 1160 |
1130 # For resolve the imports in content/test/gpu/run_gpu_test.py | 1161 # For resolve the imports in content/test/gpu/run_gpu_test.py |
1131 "//tools/perf/chrome_telemetry_build/", | 1162 "//tools/perf/chrome_telemetry_build/", |
1132 | 1163 |
1133 # From telemetry_gpu_unittests.isolate | 1164 # From telemetry_gpu_unittests.isolate |
1134 "//third_party/pylint/", | 1165 "//third_party/pylint/", |
1135 "//third_party/logilab/", | 1166 "//third_party/logilab/", |
1136 "//testing/scripts/common.py", | 1167 ] |
1137 "//testing/xvfb.py", | 1168 data_deps = [ |
1138 "//testing/scripts/run_telemetry_as_googletest.py", | 1169 ":telemetry_as_gtest", |
1139 ] | 1170 ] |
1140 } | 1171 } |
1141 | 1172 |
1142 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | 1173 # TODO(GYP_GONE): Delete this after we've converted everything to GN. |
1143 # The _run targets exist only for compatibility w/ GYP. | 1174 # The _run targets exist only for compatibility w/ GYP. |
1144 group("tab_capture_end2end_tests_run") { | 1175 group("tab_capture_end2end_tests_run") { |
1145 testonly = true | 1176 testonly = true |
1146 deps = [ | 1177 deps = [ |
1147 ":browser_tests", | 1178 ":browser_tests", |
1148 ] | 1179 ] |
(...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2927 ":telemetry_perf_unittests", | 2958 ":telemetry_perf_unittests", |
2928 ] | 2959 ] |
2929 } | 2960 } |
2930 | 2961 |
2931 group("telemetry_perf_unittests") { | 2962 group("telemetry_perf_unittests") { |
2932 testonly = true | 2963 testonly = true |
2933 deps = [ | 2964 deps = [ |
2934 "//tools/perf:perf", | 2965 "//tools/perf:perf", |
2935 ] | 2966 ] |
2936 | 2967 |
2937 data = [ | 2968 data_deps = [ |
2938 # For isolate contract. | 2969 ":telemetry_as_gtest", |
2939 "//testing/scripts/common.py", | |
2940 "//testing/xvfb.py", | |
2941 "//testing/scripts/run_telemetry_as_googletest.py", | |
2942 ] | 2970 ] |
2943 } | 2971 } |
2944 | 2972 |
2945 group("telemetry_perf_tests") { | 2973 group("telemetry_perf_tests") { |
2946 testonly = true | 2974 testonly = true |
2947 deps = [ | 2975 deps = [ |
2948 "//tools/perf/:perf", | 2976 "//tools/perf/:perf", |
2949 ] | 2977 ] |
2950 | 2978 |
2951 data = [ | 2979 data_deps = [ |
2952 # Needed for isolate script to execute. | 2980 ":telemetry_benchmark_as_gtest", |
2953 "//testing/scripts/common.py", | |
2954 "//testing/xvfb.py", | |
2955 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", | |
2956 ] | 2981 ] |
2957 } | 2982 } |
2958 | 2983 |
2959 js2gtest("unit_tests_js") { | 2984 js2gtest("unit_tests_js") { |
2960 test_type = "unit" | 2985 test_type = "unit" |
2961 sources = [ | 2986 sources = [ |
2962 "../browser/resources/google_now/background_unittest.gtestjs", | 2987 "../browser/resources/google_now/background_unittest.gtestjs", |
2963 "../browser/resources/google_now/cards_unittest.gtestjs", | 2988 "../browser/resources/google_now/cards_unittest.gtestjs", |
2964 "../browser/resources/google_now/utility_unittest.gtestjs", | 2989 "../browser/resources/google_now/utility_unittest.gtestjs", |
2965 "../browser/resources/md_downloads/action_service_unittest.gtestjs", | 2990 "../browser/resources/md_downloads/action_service_unittest.gtestjs", |
(...skipping 2072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5038 "touch_hud", | 5063 "touch_hud", |
5039 "ui", | 5064 "ui", |
5040 ] | 5065 ] |
5041 | 5066 |
5042 if (is_linux && !is_android) { | 5067 if (is_linux && !is_android) { |
5043 deps += [ "//components/font_service:manifest" ] | 5068 deps += [ "//components/font_service:manifest" ] |
5044 packaged_services += [ "font_service" ] | 5069 packaged_services += [ "font_service" ] |
5045 } | 5070 } |
5046 } | 5071 } |
5047 } | 5072 } |
OLD | NEW |