Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1335)

Unified Diff: build/config/android/internal_rules.gni

Issue 1874393002: 🏆 Allow Android test wrapper scripts to specify their timeouts in GN/GYP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 140bd4854f95e2a6af309beb7354259f139a070a..2594df84cf05a58453154c0d560493c189ea3f24 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -2158,6 +2158,9 @@ template("test_runner_script") {
rebase_path(invoker.isolate_file, root_build_dir),
]
}
+ if (defined(invoker.shard_timeout)) {
+ test_runner_args += [ "--shard-timeout=${invoker.shard_timeout}" ]
+ }
if (_incremental_install) {
test_runner_args += [
"--test-apk-incremental-install-script",
« no previous file with comments | « build/android/test_runner.gypi ('k') | components/cronet.gypi » ('j') | net/net.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698