| OLD | NEW |
| 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]/android", | 7 "[BUILDER_CACHE]/android", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 "@@@STEP_LOG_LINE@json.output@ }@@@", | 189 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 190 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 190 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 191 "@@@STEP_LOG_LINE@json.output@}@@@", | 191 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 192 "@@@STEP_LOG_END@json.output@@@" | 192 "@@@STEP_LOG_END@json.output@@@" |
| 193 ] | 193 ] |
| 194 }, | 194 }, |
| 195 { | 195 { |
| 196 "cmd": [ | 196 "cmd": [ |
| 197 "python", | 197 "python", |
| 198 "-u", | 198 "-u", |
| 199 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 200 ], |
| 201 "name": "ensure_goma.get the number of cpus", |
| 202 "stdout": "/path/to/tmp/", |
| 203 "~followup_annotations": [ |
| 204 "@@@STEP_NEST_LEVEL@1@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 214 "@@@STEP_LOG_END@python.inline@@@" |
| 215 ] |
| 216 }, |
| 217 { |
| 218 "cmd": [ |
| 219 "python", |
| 220 "-u", |
| 199 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 221 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 200 "runhooks" | 222 "runhooks" |
| 201 ], | 223 ], |
| 202 "cwd": "[BUILDER_CACHE]/android/src", | 224 "cwd": "[BUILDER_CACHE]/android/src", |
| 203 "env": { | 225 "env": { |
| 204 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 205 "GYP_CHROMIUM_NO_ACTION": "1", | 227 "GYP_CHROMIUM_NO_ACTION": "1", |
| 206 "GYP_CROSSCOMPILE": "1", | 228 "GYP_CROSSCOMPILE": "1", |
| 207 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 emm
a_coverage=1 emma_filter='org.chromium.*' fastbuild=1 gomadir='[CACHE]/cipd/goma
' target_arch=arm use_goma=1", | 229 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 emm
a_coverage=1 emma_filter='org.chromium.*' fastbuild=1 gomadir='[CACHE]/cipd/goma
' target_arch=arm use_goma=1", |
| 208 "PATH": "[BUILDER_CACHE]/android/src/third_party/android_tools/sdk/platfor
m-tools:[BUILDER_CACHE]/android/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[d
epot_tools]" | 230 "PATH": "[BUILDER_CACHE]/android/src/third_party/android_tools/sdk/platfor
m-tools:[BUILDER_CACHE]/android/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[d
epot_tools]" |
| (...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 1775 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 1754 "@@@STEP_LOG_END@python.inline@@@" | 1776 "@@@STEP_LOG_END@python.inline@@@" |
| 1755 ] | 1777 ] |
| 1756 }, | 1778 }, |
| 1757 { | 1779 { |
| 1758 "name": "$result", | 1780 "name": "$result", |
| 1759 "recipe_result": null, | 1781 "recipe_result": null, |
| 1760 "status_code": 0 | 1782 "status_code": 0 |
| 1761 } | 1783 } |
| 1762 ] | 1784 ] |
| OLD | NEW |