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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/tryserver_libyuv_android_gn.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.libyuv", 8 "tryserver.libyuv",
9 "--builder", 9 "--builder",
10 "android_gn", 10 "android_gn",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 "@@@STEP_LOG_LINE@json.output@ }@@@", 103 "@@@STEP_LOG_LINE@json.output@ }@@@",
104 "@@@STEP_LOG_LINE@json.output@ ]@@@", 104 "@@@STEP_LOG_LINE@json.output@ ]@@@",
105 "@@@STEP_LOG_LINE@json.output@}@@@", 105 "@@@STEP_LOG_LINE@json.output@}@@@",
106 "@@@STEP_LOG_END@json.output@@@" 106 "@@@STEP_LOG_END@json.output@@@"
107 ] 107 ]
108 }, 108 },
109 { 109 {
110 "cmd": [ 110 "cmd": [
111 "python", 111 "python",
112 "-u", 112 "-u",
113 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
114 ],
115 "name": "ensure_goma.get the number of cpus",
116 "stdout": "/path/to/tmp/",
117 "~followup_annotations": [
118 "@@@STEP_NEST_LEVEL@1@@@",
119 "@@@STEP_LOG_LINE@python.inline@@@@",
120 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
121 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
122 "@@@STEP_LOG_END@python.inline@@@"
123 ]
124 },
125 {
126 "cmd": [
127 "python",
128 "-u",
113 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 129 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
114 "runhooks" 130 "runhooks"
115 ], 131 ],
116 "cwd": "[SLAVE_BUILD]/src", 132 "cwd": "[SLAVE_BUILD]/src",
117 "env": { 133 "env": {
118 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 134 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
119 "GYP_CHROMIUM_NO_ACTION": "1", 135 "GYP_CHROMIUM_NO_ACTION": "1",
120 "GYP_CROSSCOMPILE": "1", 136 "GYP_CROSSCOMPILE": "1",
121 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", 137 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
122 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 138 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 192 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
177 "@@@STEP_LOG_END@json.output (invalid)@@@" 193 "@@@STEP_LOG_END@json.output (invalid)@@@"
178 ] 194 ]
179 }, 195 },
180 { 196 {
181 "name": "$result", 197 "name": "$result",
182 "recipe_result": null, 198 "recipe_result": null,
183 "status_code": 0 199 "status_code": 0
184 } 200 }
185 ] 201 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698