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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_gyp.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 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Android32_GYP", 7 "[BUILDER_CACHE]/Android32_GYP",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "@@@STEP_LOG_LINE@json.output@ }@@@", 169 "@@@STEP_LOG_LINE@json.output@ }@@@",
170 "@@@STEP_LOG_LINE@json.output@ ]@@@", 170 "@@@STEP_LOG_LINE@json.output@ ]@@@",
171 "@@@STEP_LOG_LINE@json.output@}@@@", 171 "@@@STEP_LOG_LINE@json.output@}@@@",
172 "@@@STEP_LOG_END@json.output@@@" 172 "@@@STEP_LOG_END@json.output@@@"
173 ] 173 ]
174 }, 174 },
175 { 175 {
176 "cmd": [ 176 "cmd": [
177 "python", 177 "python",
178 "-u", 178 "-u",
179 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
180 ],
181 "name": "ensure_goma.get the number of cpus",
182 "stdout": "/path/to/tmp/",
183 "~followup_annotations": [
184 "@@@STEP_NEST_LEVEL@1@@@",
185 "@@@STEP_LOG_LINE@python.inline@@@@",
186 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
187 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
188 "@@@STEP_LOG_END@python.inline@@@"
189 ]
190 },
191 {
192 "cmd": [
193 "python",
194 "-u",
179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 195 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
180 "runhooks" 196 "runhooks"
181 ], 197 ],
182 "cwd": "[BUILDER_CACHE]/Android32_GYP/src", 198 "cwd": "[BUILDER_CACHE]/Android32_GYP/src",
183 "env": { 199 "env": {
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
185 "GYP_CHROMIUM_NO_ACTION": "1", 201 "GYP_CHROMIUM_NO_ACTION": "1",
186 "GYP_CROSSCOMPILE": "1", 202 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1", 203 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1",
188 "PATH": "[BUILDER_CACHE]/Android32_GYP/src/third_party/android_tools/sdk/p latform-tools:[BUILDER_CACHE]/Android32_GYP/src/build/android:%(PATH)s:RECIPE_PA CKAGE_REPO[depot_tools]" 204 "PATH": "[BUILDER_CACHE]/Android32_GYP/src/third_party/android_tools/sdk/p latform-tools:[BUILDER_CACHE]/Android32_GYP/src/build/android:%(PATH)s:RECIPE_PA CKAGE_REPO[depot_tools]"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 267 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
252 "@@@STEP_LOG_END@json.output (invalid)@@@" 268 "@@@STEP_LOG_END@json.output (invalid)@@@"
253 ] 269 ]
254 }, 270 },
255 { 271 {
256 "name": "$result", 272 "name": "$result",
257 "recipe_result": null, 273 "recipe_result": null,
258 "status_code": 0 274 "status_code": 0
259 } 275 }
260 ] 276 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698