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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_gyp__dbg_.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: use 80 for linux 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__dbg_", 7 "[BUILDER_CACHE]/Android32_GYP__dbg_",
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\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@",
188 "@@@STEP_LOG_LINE@python.inline@try:@@@",
189 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
190 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
191 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
192 "@@@STEP_LOG_LINE@python.inline@@@@",
193 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
194 "@@@STEP_LOG_END@python.inline@@@"
195 ]
196 },
197 {
198 "cmd": [
199 "python",
200 "-u",
179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 201 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
180 "runhooks" 202 "runhooks"
181 ], 203 ],
182 "cwd": "[BUILDER_CACHE]/Android32_GYP__dbg_/src", 204 "cwd": "[BUILDER_CACHE]/Android32_GYP__dbg_/src",
183 "env": { 205 "env": {
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 206 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
185 "GYP_CHROMIUM_NO_ACTION": "1", 207 "GYP_CHROMIUM_NO_ACTION": "1",
186 "GYP_CROSSCOMPILE": "1", 208 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1", 209 "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__dbg_/src/third_party/android_tools /sdk/platform-tools:[BUILDER_CACHE]/Android32_GYP__dbg_/src/build/android:%(PATH )s:RECIPE_PACKAGE_REPO[depot_tools]" 210 "PATH": "[BUILDER_CACHE]/Android32_GYP__dbg_/src/third_party/android_tools /sdk/platform-tools:[BUILDER_CACHE]/Android32_GYP__dbg_/src/build/android:%(PATH )s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 273 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
252 "@@@STEP_LOG_END@json.output (invalid)@@@" 274 "@@@STEP_LOG_END@json.output (invalid)@@@"
253 ] 275 ]
254 }, 276 },
255 { 277 {
256 "name": "$result", 278 "name": "$result",
257 "recipe_result": null, 279 "recipe_result": null,
258 "status_code": 0 280 "status_code": 0
259 } 281 }
260 ] 282 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698