Index: scripts/slave/recipes/android/builder.expected/full_chromium_perf_Android_Builder.json |
diff --git a/scripts/slave/recipes/android/builder.expected/full_chromium_perf_Android_Builder.json b/scripts/slave/recipes/android/builder.expected/full_chromium_perf_Android_Builder.json |
index bd5b00404e2d58b1886d439aa7838223260bc381..0baaec2bad8ee54f26639ef889f508d08f06ba56 100644 |
--- a/scripts/slave/recipes/android/builder.expected/full_chromium_perf_Android_Builder.json |
+++ b/scripts/slave/recipes/android/builder.expected/full_chromium_perf_Android_Builder.json |
@@ -61,6 +61,22 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10)\n" |
+ ], |
+ "name": "ensure_goma.get the number of cpus", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
"--master", |
"chromium.perf", |