OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/locales.gni") | 7 import("//build/config/locales.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chromecast/build/tests/cast_test.gni") | 10 import("//chromecast/build/tests/cast_test.gni") |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 "--test-launcher-batch-limit=25", | 245 "--test-launcher-batch-limit=25", |
246 ] | 246 ] |
247 } | 247 } |
248 } | 248 } |
249 filters += [ net_unittests_filter ] | 249 filters += [ net_unittests_filter ] |
250 } | 250 } |
251 | 251 |
252 # Creates the build and run lists for all test targets. | 252 # Creates the build and run lists for all test targets. |
253 cast_test_group_list("cast_test_lists") { | 253 cast_test_group_list("cast_test_lists") { |
254 build_list_path = "$root_out_dir/tests/build_test_list.txt" | 254 build_list_path = "$root_out_dir/tests/build_test_list.txt" |
255 | 255 runtime_deps_path = "$root_out_dir/tests/runtime_deps.json" |
256 run_list_path = "$root_out_dir/tests/run_test_list.txt" | 256 run_list_path = "$root_out_dir/tests/run_test_list.txt" |
257 | 257 |
258 additional_options = [ "--ozone-platform=headless --test-launcher-bot-mode" ] | 258 additional_options = [ "--ozone-platform=headless --test-launcher-bot-mode" ] |
259 | 259 |
260 build_tests = true | 260 build_tests = true |
261 | 261 |
262 test_groups = [ ":cast_tests" ] | 262 test_groups = [ ":cast_tests" ] |
263 | 263 |
264 if (chromecast_branding != "public") { | 264 if (chromecast_branding != "public") { |
265 test_groups += [ "//chromecast/internal:internal_cast_tests" ] | 265 test_groups += [ "//chromecast/internal:internal_cast_tests" ] |
266 } | 266 } |
267 } | 267 } |
268 | 268 |
269 if (is_android) { | 269 if (is_android) { |
270 cast_test_group("cast_junit_tests") { | 270 cast_test_group("cast_junit_tests") { |
271 test_type = "junit" | 271 test_type = "junit" |
272 tests = [ | 272 tests = [ |
273 "//base:base_junit_tests", | 273 "//base:base_junit_tests", |
274 "//content/public/android:content_junit_tests", | 274 "//content/public/android:content_junit_tests", |
275 "//net/android:net_junit_tests", | 275 "//net/android:net_junit_tests", |
276 "//testing/android/junit:junit_unit_tests", | 276 "//testing/android/junit:junit_unit_tests", |
277 "//ui/android:ui_junit_tests", | 277 "//ui/android:ui_junit_tests", |
278 ] | 278 ] |
279 } | 279 } |
280 | 280 |
281 cast_test_group_list("cast_junit_test_lists") { | 281 cast_test_group_list("cast_junit_test_lists") { |
282 test_type = "junit" | 282 test_type = "junit" |
283 build_list_path = "$root_out_dir/junit/build_junit_test_list.txt" | 283 build_list_path = "$root_out_dir/junit/build_junit_test_list.txt" |
| 284 runtime_deps_path = "$root_out_dir/junit/runtime_deps.json" |
284 run_list_path = "$root_out_dir/junit/run_junit_test_list.txt" | 285 run_list_path = "$root_out_dir/junit/run_junit_test_list.txt" |
285 build_tests = true | 286 build_tests = true |
286 test_groups = [ ":cast_junit_tests" ] | 287 test_groups = [ ":cast_junit_tests" ] |
287 } | 288 } |
288 } | 289 } |
289 | 290 |
290 test("cast_shell_unittests") { | 291 test("cast_shell_unittests") { |
291 deps = [ | 292 deps = [ |
292 ":cast_shell_lib", | 293 ":cast_shell_lib", |
293 "//chromecast/app:test_support", | 294 "//chromecast/app:test_support", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] | 456 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] |
456 | 457 |
457 deps = [ | 458 deps = [ |
458 ":cast_shell_apk_assets", | 459 ":cast_shell_apk_assets", |
459 "//base:base_java", | 460 "//base:base_java", |
460 "//chromecast/android:libcast_shell_android", | 461 "//chromecast/android:libcast_shell_android", |
461 "//chromecast/browser/android:cast_shell_java", | 462 "//chromecast/browser/android:cast_shell_java", |
462 ] | 463 ] |
463 } | 464 } |
464 } | 465 } |
OLD | NEW |