| 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]/Linux64_Debug__GYP_", | 7 "[BUILDER_CACHE]/Linux64_Debug__GYP_", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 "@@@STEP_LOG_LINE@json.output@ }@@@", | 153 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 154 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 154 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 155 "@@@STEP_LOG_LINE@json.output@}@@@", | 155 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 156 "@@@STEP_LOG_END@json.output@@@" | 156 "@@@STEP_LOG_END@json.output@@@" |
| 157 ] | 157 ] |
| 158 }, | 158 }, |
| 159 { | 159 { |
| 160 "cmd": [ | 160 "cmd": [ |
| 161 "python", | 161 "python", |
| 162 "-u", | 162 "-u", |
| 163 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 164 ], |
| 165 "name": "ensure_goma.get the number of cpus", |
| 166 "stdout": "/path/to/tmp/", |
| 167 "~followup_annotations": [ |
| 168 "@@@STEP_NEST_LEVEL@1@@@", |
| 169 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 170 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 171 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 172 "@@@STEP_LOG_END@python.inline@@@" |
| 173 ] |
| 174 }, |
| 175 { |
| 176 "cmd": [ |
| 177 "python", |
| 178 "-u", |
| 163 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 164 "runhooks" | 180 "runhooks" |
| 165 ], | 181 ], |
| 166 "cwd": "[BUILDER_CACHE]/Linux64_Debug__GYP_/src", | 182 "cwd": "[BUILDER_CACHE]/Linux64_Debug__GYP_/src", |
| 167 "env": { | 183 "env": { |
| 168 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 169 "GYP_CHROMIUM_NO_ACTION": "1", | 185 "GYP_CHROMIUM_NO_ACTION": "1", |
| 170 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 ffmpeg_brandin
g=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_goma=1", | 186 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 ffmpeg_brandin
g=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64 use_goma=1", |
| 171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 187 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 172 }, | 188 }, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 249 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 234 "@@@STEP_LOG_END@json.output (invalid)@@@" | 250 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 235 ] | 251 ] |
| 236 }, | 252 }, |
| 237 { | 253 { |
| 238 "name": "$result", | 254 "name": "$result", |
| 239 "recipe_result": null, | 255 "recipe_result": null, |
| 240 "status_code": 0 | 256 "status_code": 0 |
| 241 } | 257 } |
| 242 ] | 258 ] |
| OLD | NEW |