• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "\nfrom __future__ import print_function\nimport subprocess\nimport sys\n\nwhich = 'where' if sys.platform == 'win32' else 'which'\ngit = subprocess.check_output([which, 'git'])\nprint('git was found at %s' % git)\nif 'cipd_bin_packages' not in git:\n  print('Git must be obtained through CIPD.', file=sys.stderr)\n  sys.exit(1)\n"
7    ],
8    "env": {
9      "CHROME_HEADLESS": "1",
10      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
11    },
12    "name": "Assert that Git is from CIPD",
13    "~followup_annotations": [
14      "@@@STEP_LOG_LINE@python.inline@@@@",
15      "@@@STEP_LOG_LINE@python.inline@from __future__ import print_function@@@",
16      "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
17      "@@@STEP_LOG_LINE@python.inline@import sys@@@",
18      "@@@STEP_LOG_LINE@python.inline@@@@",
19      "@@@STEP_LOG_LINE@python.inline@which = 'where' if sys.platform == 'win32' else 'which'@@@",
20      "@@@STEP_LOG_LINE@python.inline@git = subprocess.check_output([which, 'git'])@@@",
21      "@@@STEP_LOG_LINE@python.inline@print('git was found at %s' % git)@@@",
22      "@@@STEP_LOG_LINE@python.inline@if 'cipd_bin_packages' not in git:@@@",
23      "@@@STEP_LOG_LINE@python.inline@  print('Git must be obtained through CIPD.', file=sys.stderr)@@@",
24      "@@@STEP_LOG_LINE@python.inline@  sys.exit(1)@@@",
25      "@@@STEP_LOG_END@python.inline@@@"
26    ]
27  },
28  {
29    "cmd": [
30      "vpython",
31      "-u",
32      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
33      "--json-output",
34      "/path/to/tmp/json",
35      "ensure-directory",
36      "--mode",
37      "0777",
38      "[START_DIR]/cache/work"
39    ],
40    "infra_step": true,
41    "name": "makedirs checkout_path"
42  },
43  {
44    "cmd": [
45      "vpython",
46      "-u",
47      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
48      "--json-output",
49      "/path/to/tmp/json",
50      "remove",
51      "[START_DIR]/cache/work/.gclient_entries"
52    ],
53    "infra_step": true,
54    "name": "remove [START_DIR]/cache/work/.gclient_entries"
55  },
56  {
57    "cmd": [
58      "vpython",
59      "-u",
60      "RECIPE_REPO[depot_tools]/gerrit_client.py",
61      "changes",
62      "--host",
63      "https://skia-review.googlesource.com",
64      "--json_file",
65      "/path/to/tmp/json",
66      "--limit",
67      "1",
68      "-p",
69      "change=456789",
70      "-o",
71      "ALL_REVISIONS",
72      "-o",
73      "DOWNLOAD_COMMANDS"
74    ],
75    "cwd": "[START_DIR]/cache/work",
76    "env": {
77      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
78    },
79    "infra_step": true,
80    "name": "gerrit fetch current CL info",
81    "timeout": 60,
82    "~followup_annotations": [
83      "@@@STEP_LOG_LINE@json.output@[@@@",
84      "@@@STEP_LOG_LINE@json.output@  {@@@",
85      "@@@STEP_LOG_LINE@json.output@    \"branch\": \"main\", @@@",
86      "@@@STEP_LOG_LINE@json.output@    \"owner\": {@@@",
87      "@@@STEP_LOG_LINE@json.output@      \"name\": \"John Doe\"@@@",
88      "@@@STEP_LOG_LINE@json.output@    }, @@@",
89      "@@@STEP_LOG_LINE@json.output@    \"revisions\": {@@@",
90      "@@@STEP_LOG_LINE@json.output@      \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@",
91      "@@@STEP_LOG_LINE@json.output@        \"_number\": \"12\", @@@",
92      "@@@STEP_LOG_LINE@json.output@        \"ref\": \"refs/changes/89/456789/12\"@@@",
93      "@@@STEP_LOG_LINE@json.output@      }@@@",
94      "@@@STEP_LOG_LINE@json.output@    }@@@",
95      "@@@STEP_LOG_LINE@json.output@  }@@@",
96      "@@@STEP_LOG_LINE@json.output@]@@@",
97      "@@@STEP_LOG_END@json.output@@@"
98    ]
99  },
100  {
101    "cmd": [
102      "python",
103      "-u",
104      "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
105      "--spec-path",
106      "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
107      "--patch_root",
108      "skia",
109      "--revision_mapping_file",
110      "{\"got_revision\": \"skia\"}",
111      "--git-cache-dir",
112      "[START_DIR]/cache/git",
113      "--cleanup-dir",
114      "[CLEANUP]/bot_update",
115      "--output_json",
116      "/path/to/tmp/json",
117      "--patch_ref",
118      "https://skia.googlesource.com/skia@refs/heads/main:refs/changes/89/456789/12",
119      "--patch_ref",
120      "https://skia.googlesource.com/skia.git@abc123:refs/changes/89/456789/12",
121      "--revision",
122      "skia@abc123"
123    ],
124    "cwd": "[START_DIR]/cache/work",
125    "env": {
126      "DEPOT_TOOLS_COLLECT_METRICS": "0",
127      "GIT_HTTP_LOW_SPEED_LIMIT": "102400",
128      "GIT_HTTP_LOW_SPEED_TIME": "1800"
129    },
130    "env_suffixes": {
131      "DEPOT_TOOLS_UPDATE": [
132        "0"
133      ],
134      "PATH": [
135        "RECIPE_REPO[depot_tools]"
136      ]
137    },
138    "infra_step": true,
139    "name": "bot_update",
140    "~followup_annotations": [
141      "@@@STEP_TEXT@Some step text@@@",
142      "@@@STEP_LOG_LINE@json.output@{@@@",
143      "@@@STEP_LOG_LINE@json.output@  \"did_run\": true, @@@",
144      "@@@STEP_LOG_LINE@json.output@  \"fixed_revisions\": {@@@",
145      "@@@STEP_LOG_LINE@json.output@    \"skia\": \"abc123\"@@@",
146      "@@@STEP_LOG_LINE@json.output@  }, @@@",
147      "@@@STEP_LOG_LINE@json.output@  \"manifest\": {@@@",
148      "@@@STEP_LOG_LINE@json.output@    \"skia\": {@@@",
149      "@@@STEP_LOG_LINE@json.output@      \"repository\": \"https://fake.org/skia.git\", @@@",
150      "@@@STEP_LOG_LINE@json.output@      \"revision\": \"abc123\"@@@",
151      "@@@STEP_LOG_LINE@json.output@    }@@@",
152      "@@@STEP_LOG_LINE@json.output@  }, @@@",
153      "@@@STEP_LOG_LINE@json.output@  \"patch_failure\": false, @@@",
154      "@@@STEP_LOG_LINE@json.output@  \"patch_root\": \"skia\", @@@",
155      "@@@STEP_LOG_LINE@json.output@  \"properties\": {@@@",
156      "@@@STEP_LOG_LINE@json.output@    \"got_revision\": \"abc123\", @@@",
157      "@@@STEP_LOG_LINE@json.output@    \"got_revision_cp\": \"refs/heads/main@{#164710}\"@@@",
158      "@@@STEP_LOG_LINE@json.output@  }, @@@",
159      "@@@STEP_LOG_LINE@json.output@  \"root\": \"skia\", @@@",
160      "@@@STEP_LOG_LINE@json.output@  \"source_manifest\": {@@@",
161      "@@@STEP_LOG_LINE@json.output@    \"directories\": {@@@",
162      "@@@STEP_LOG_LINE@json.output@      \"skia\": {@@@",
163      "@@@STEP_LOG_LINE@json.output@        \"git_checkout\": {@@@",
164      "@@@STEP_LOG_LINE@json.output@          \"repo_url\": \"https://fake.org/skia.git\", @@@",
165      "@@@STEP_LOG_LINE@json.output@          \"revision\": \"abc123\"@@@",
166      "@@@STEP_LOG_LINE@json.output@        }@@@",
167      "@@@STEP_LOG_LINE@json.output@      }@@@",
168      "@@@STEP_LOG_LINE@json.output@    }, @@@",
169      "@@@STEP_LOG_LINE@json.output@    \"version\": 0@@@",
170      "@@@STEP_LOG_LINE@json.output@  }, @@@",
171      "@@@STEP_LOG_LINE@json.output@  \"step_text\": \"Some step text\"@@@",
172      "@@@STEP_LOG_LINE@json.output@}@@@",
173      "@@@STEP_LOG_END@json.output@@@",
174      "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@",
175      "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#164710}\"@@@"
176    ]
177  },
178  {
179    "cmd": [
180      "vpython",
181      "-u",
182      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
183      "--json-output",
184      "/path/to/tmp/json",
185      "ensure-directory",
186      "--mode",
187      "0777",
188      "[START_DIR]/[SWARM_OUT_DIR]"
189    ],
190    "infra_step": true,
191    "name": "mkdirs out_dir"
192  },
193  {
194    "cmd": [
195      "vpython",
196      "-u",
197      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
198      "--json-output",
199      "/path/to/tmp/json",
200      "glob",
201      "[START_DIR]/build",
202      "*.wasm"
203    ],
204    "cwd": "[START_DIR]/build",
205    "infra_step": true,
206    "name": "find WASM binaries",
207    "~followup_annotations": [
208      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.wasm@@@",
209      "@@@STEP_LOG_END@glob@@@"
210    ]
211  },
212  {
213    "cmd": [
214      "python",
215      "-u",
216      "import os\nprint(os.environ.get('SWARMING_BOT_ID', ''))\n"
217    ],
218    "cwd": "[START_DIR]/build",
219    "name": "get swarming bot id",
220    "~followup_annotations": [
221      "@@@STEP_LOG_LINE@python.inline@import os@@@",
222      "@@@STEP_LOG_LINE@python.inline@print(os.environ.get('SWARMING_BOT_ID', ''))@@@",
223      "@@@STEP_LOG_END@python.inline@@@"
224    ]
225  },
226  {
227    "cmd": [
228      "python",
229      "-u",
230      "import os\nprint(os.environ.get('SWARMING_TASK_ID', ''))\n"
231    ],
232    "cwd": "[START_DIR]/build",
233    "name": "get swarming task id",
234    "~followup_annotations": [
235      "@@@STEP_LOG_LINE@python.inline@import os@@@",
236      "@@@STEP_LOG_LINE@python.inline@print(os.environ.get('SWARMING_TASK_ID', ''))@@@",
237      "@@@STEP_LOG_END@python.inline@@@"
238    ]
239  },
240  {
241    "cmd": [
242      "python",
243      "-u",
244      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_wasm.py",
245      "[START_DIR]/build/pathkit.wasm",
246      "[START_DIR]/[SWARM_OUT_DIR]",
247      "compiler EMCC configuration Release extra_config PathKit os Debian10 target_arch wasm",
248      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
249      "[START_DIR]/bloaty/bloaty",
250      "total_size_bytes",
251      "#$%^&*"
252    ],
253    "cwd": "[START_DIR]/cache/work/skia",
254    "env": {
255      "CHROME_HEADLESS": "1",
256      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
257    },
258    "name": "Analyze wasm",
259    "~followup_annotations": [
260      "@@@STEP_LOG_LINE@bloaty_symbol_short@@@@",
261      "@@@STEP_LOG_LINE@bloaty_symbol_short@Report A@@@",
262      "@@@STEP_LOG_LINE@bloaty_symbol_short@    Total size: 50 bytes@@@",
263      "@@@STEP_LOG_LINE@bloaty_symbol_short@@@@",
264      "@@@STEP_LOG_END@bloaty_symbol_short@@@",
265      "@@@STEP_LOG_LINE@bloaty_symbol_full@@@@",
266      "@@@STEP_LOG_LINE@bloaty_symbol_full@Report B@@@",
267      "@@@STEP_LOG_LINE@bloaty_symbol_full@    Total size: 60 bytes@@@",
268      "@@@STEP_LOG_LINE@bloaty_symbol_full@@@@",
269      "@@@STEP_LOG_END@bloaty_symbol_full@@@",
270      "@@@STEP_LOG_LINE@perf_json@@@@",
271      "@@@STEP_LOG_LINE@perf_json@{@@@",
272      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\",@@@",
273      "@@@STEP_LOG_LINE@perf_json@  \"results\": {@@@",
274      "@@@STEP_LOG_LINE@perf_json@    \"pathkit.wasm\": {@@@",
275      "@@@STEP_LOG_LINE@perf_json@      \"default\": {@@@",
276      "@@@STEP_LOG_LINE@perf_json@        \"total_size_bytes\": 7391117,@@@",
277      "@@@STEP_LOG_LINE@perf_json@        \"gzip_size_bytes\": 2884841@@@",
278      "@@@STEP_LOG_LINE@perf_json@      }@@@",
279      "@@@STEP_LOG_LINE@perf_json@    }@@@",
280      "@@@STEP_LOG_LINE@perf_json@  }@@@",
281      "@@@STEP_LOG_LINE@perf_json@}@@@",
282      "@@@STEP_LOG_LINE@perf_json@@@@",
283      "@@@STEP_LOG_END@perf_json@@@",
284      "@@@SET_BUILD_PROPERTY@binary_size_pathkit.wasm@7391117@@@"
285    ]
286  },
287  {
288    "cmd": [
289      "vpython",
290      "-u",
291      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
292      "--json-output",
293      "/path/to/tmp/json",
294      "glob",
295      "[START_DIR]/build",
296      "*.js"
297    ],
298    "cwd": "[START_DIR]/build",
299    "infra_step": true,
300    "name": "find JS files",
301    "~followup_annotations": [
302      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.js@@@",
303      "@@@STEP_LOG_END@glob@@@"
304    ]
305  },
306  {
307    "cmd": [
308      "python",
309      "-u",
310      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_web.py",
311      "[START_DIR]/build/pathkit.js",
312      "[START_DIR]/[SWARM_OUT_DIR]",
313      "compiler EMCC configuration Release extra_config PathKit os Debian10 target_arch wasm",
314      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
315      "total_size_bytes",
316      "#$%^&*"
317    ],
318    "cwd": "[START_DIR]/cache/work/skia",
319    "env": {
320      "CHROME_HEADLESS": "1",
321      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
322    },
323    "name": "Analyze [START_DIR]/build/pathkit.js"
324  },
325  {
326    "cmd": [
327      "vpython",
328      "-u",
329      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
330      "--json-output",
331      "/path/to/tmp/json",
332      "glob",
333      "[START_DIR]/build",
334      "*.js.mem"
335    ],
336    "cwd": "[START_DIR]/build",
337    "infra_step": true,
338    "name": "find JS mem files",
339    "~followup_annotations": [
340      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/pathkit.js.mem@@@",
341      "@@@STEP_LOG_END@glob@@@"
342    ]
343  },
344  {
345    "cmd": [
346      "python",
347      "-u",
348      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_web.py",
349      "[START_DIR]/build/pathkit.js.mem",
350      "[START_DIR]/[SWARM_OUT_DIR]",
351      "compiler EMCC configuration Release extra_config PathKit os Debian10 target_arch wasm",
352      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
353      "total_size_bytes",
354      "#$%^&*"
355    ],
356    "cwd": "[START_DIR]/cache/work/skia",
357    "env": {
358      "CHROME_HEADLESS": "1",
359      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
360    },
361    "name": "Analyze [START_DIR]/build/pathkit.js.mem",
362    "~followup_annotations": [
363      "@@@STEP_LOG_LINE@perf_json@@@@",
364      "@@@STEP_LOG_LINE@perf_json@{@@@",
365      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\",@@@",
366      "@@@STEP_LOG_LINE@perf_json@  \"results\": {@@@",
367      "@@@STEP_LOG_LINE@perf_json@    \"pathkit.js.mem\": {@@@",
368      "@@@STEP_LOG_LINE@perf_json@      \"default\": {@@@",
369      "@@@STEP_LOG_LINE@perf_json@        \"total_size_bytes\": 7391117,@@@",
370      "@@@STEP_LOG_LINE@perf_json@        \"gzip_size_bytes\": 2884841@@@",
371      "@@@STEP_LOG_LINE@perf_json@      }@@@",
372      "@@@STEP_LOG_LINE@perf_json@    }@@@",
373      "@@@STEP_LOG_LINE@perf_json@  }@@@",
374      "@@@STEP_LOG_LINE@perf_json@}@@@",
375      "@@@STEP_LOG_LINE@perf_json@@@@",
376      "@@@STEP_LOG_END@perf_json@@@",
377      "@@@SET_BUILD_PROPERTY@binary_size_pathkit.js.mem@7391117@@@"
378    ]
379  },
380  {
381    "cmd": [
382      "vpython",
383      "-u",
384      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
385      "--json-output",
386      "/path/to/tmp/json",
387      "glob",
388      "[START_DIR]/build",
389      "libflutter.so"
390    ],
391    "cwd": "[START_DIR]/build",
392    "infra_step": true,
393    "name": "find flutter library",
394    "~followup_annotations": [
395      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/libflutter.so@@@",
396      "@@@STEP_LOG_END@glob@@@"
397    ]
398  },
399  {
400    "cmd": [
401      "python",
402      "-u",
403      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_flutter.py",
404      "[START_DIR]/build/libflutter_stripped.so",
405      "[START_DIR]/[SWARM_OUT_DIR]",
406      "compiler EMCC configuration Release extra_config PathKit os Debian10 target_arch wasm",
407      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
408      "[START_DIR]/bloaty/bloaty",
409      "[START_DIR]/build/libflutter.so",
410      "skia_in_flutter",
411      "total_size_bytes",
412      "libflutter.so",
413      "#$%^&*"
414    ],
415    "cwd": "[START_DIR]/cache/work/skia",
416    "env": {
417      "CHROME_HEADLESS": "1",
418      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
419    },
420    "name": "Analyze flutter",
421    "~followup_annotations": [
422      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@@@@",
423      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@Report A@@@",
424      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@    Total size: 50 bytes@@@",
425      "@@@STEP_LOG_LINE@bloaty_file_symbol_short@@@@",
426      "@@@STEP_LOG_END@bloaty_file_symbol_short@@@",
427      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@@@@",
428      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@Report B@@@",
429      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@    Total size: 60 bytes@@@",
430      "@@@STEP_LOG_LINE@bloaty_file_symbol_full@@@@",
431      "@@@STEP_LOG_END@bloaty_file_symbol_full@@@",
432      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@@@@",
433      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@Report C@@@",
434      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@    Total size: 70 bytes@@@",
435      "@@@STEP_LOG_LINE@bloaty_symbol_file_short@@@@",
436      "@@@STEP_LOG_END@bloaty_symbol_file_short@@@",
437      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@@@@",
438      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@Report D@@@",
439      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@    Total size: 80 bytes@@@",
440      "@@@STEP_LOG_LINE@bloaty_symbol_file_full@@@@",
441      "@@@STEP_LOG_END@bloaty_symbol_file_full@@@",
442      "@@@STEP_LOG_LINE@perf_json@@@@",
443      "@@@STEP_LOG_LINE@perf_json@{@@@",
444      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\",@@@",
445      "@@@STEP_LOG_LINE@perf_json@  \"results\": {@@@",
446      "@@@STEP_LOG_LINE@perf_json@    \"libflutter.so\": {@@@",
447      "@@@STEP_LOG_LINE@perf_json@      \"skia_in_flutter\": {@@@",
448      "@@@STEP_LOG_LINE@perf_json@        \"total_size_bytes\": 1256676@@@",
449      "@@@STEP_LOG_LINE@perf_json@      }@@@",
450      "@@@STEP_LOG_LINE@perf_json@    }@@@",
451      "@@@STEP_LOG_LINE@perf_json@  }@@@",
452      "@@@STEP_LOG_LINE@perf_json@}@@@",
453      "@@@STEP_LOG_LINE@perf_json@@@@",
454      "@@@STEP_LOG_END@perf_json@@@",
455      "@@@SET_BUILD_PROPERTY@binary_size_libflutter.so@1256676@@@"
456    ]
457  },
458  {
459    "cmd": [
460      "vpython",
461      "-u",
462      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
463      "--json-output",
464      "/path/to/tmp/json",
465      "glob",
466      "[START_DIR]/build",
467      "libskia.so"
468    ],
469    "cwd": "[START_DIR]/build",
470    "infra_step": true,
471    "name": "find skia library",
472    "~followup_annotations": [
473      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/libskia.so@@@",
474      "@@@STEP_LOG_END@glob@@@"
475    ]
476  },
477  {
478    "cmd": [
479      "python",
480      "-u",
481      "[START_DIR]/cache/work/skia/infra/bots/buildstats/buildstats_cpp.py",
482      "[START_DIR]/build/libskia.so",
483      "[START_DIR]/[SWARM_OUT_DIR]",
484      "compiler EMCC configuration Release extra_config PathKit os Debian10 target_arch wasm",
485      "gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456abc issue 456789 patchset 12 patch_storage gerrit",
486      "[START_DIR]/bloaty/bloaty",
487      "total_size_bytes",
488      "#$%^&*"
489    ],
490    "cwd": "[START_DIR]/cache/work/skia",
491    "env": {
492      "CHROME_HEADLESS": "1",
493      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
494    },
495    "name": "Analyze [START_DIR]/build/libskia.so",
496    "~followup_annotations": [
497      "@@@STEP_LOG_LINE@perf_json@@@@",
498      "@@@STEP_LOG_LINE@perf_json@{@@@",
499      "@@@STEP_LOG_LINE@perf_json@  \"some\": \"json\",@@@",
500      "@@@STEP_LOG_LINE@perf_json@  \"results\": {@@@",
501      "@@@STEP_LOG_LINE@perf_json@    \"libskia.so\": {@@@",
502      "@@@STEP_LOG_LINE@perf_json@      \"default\": {@@@",
503      "@@@STEP_LOG_LINE@perf_json@        \"total_size_bytes\": 7391117,@@@",
504      "@@@STEP_LOG_LINE@perf_json@        \"gzip_size_bytes\": 2884841@@@",
505      "@@@STEP_LOG_LINE@perf_json@      }@@@",
506      "@@@STEP_LOG_LINE@perf_json@    }@@@",
507      "@@@STEP_LOG_LINE@perf_json@  }@@@",
508      "@@@STEP_LOG_LINE@perf_json@}@@@",
509      "@@@STEP_LOG_LINE@perf_json@@@@",
510      "@@@STEP_LOG_END@perf_json@@@",
511      "@@@SET_BUILD_PROPERTY@binary_size_libskia.so@7391117@@@"
512    ]
513  },
514  {
515    "cmd": [
516      "vpython",
517      "-u",
518      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
519      "--json-output",
520      "/path/to/tmp/json",
521      "glob",
522      "[START_DIR]/build",
523      "skottie_tool"
524    ],
525    "cwd": "[START_DIR]/build",
526    "infra_step": true,
527    "name": "find skottie_tool",
528    "~followup_annotations": [
529      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/skottie_tool@@@",
530      "@@@STEP_LOG_END@glob@@@"
531    ]
532  },
533  {
534    "cmd": [
535      "python",
536      "-u",
537      "[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py",
538      "[START_DIR]/build/skottie_tool",
539      "[START_DIR]/[SWARM_OUT_DIR]"
540    ],
541    "cwd": "[START_DIR]/cache/work/skia",
542    "env": {
543      "CHROME_HEADLESS": "1",
544      "DOCKER_CONFIG": "/home/chrome-bot/.docker",
545      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
546    },
547    "name": "Make code size treemap [START_DIR]/build/skottie_tool"
548  },
549  {
550    "cmd": [
551      "vpython",
552      "-u",
553      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
554      "--json-output",
555      "/path/to/tmp/json",
556      "glob",
557      "[START_DIR]/build",
558      "dm"
559    ],
560    "cwd": "[START_DIR]/build",
561    "infra_step": true,
562    "name": "find dm",
563    "~followup_annotations": [
564      "@@@STEP_LOG_LINE@glob@[START_DIR]/build/dm@@@",
565      "@@@STEP_LOG_END@glob@@@"
566    ]
567  },
568  {
569    "cmd": [
570      "python",
571      "-u",
572      "[START_DIR]/cache/work/skia/infra/bots/buildstats/make_treemap.py",
573      "[START_DIR]/build/dm",
574      "[START_DIR]/[SWARM_OUT_DIR]"
575    ],
576    "cwd": "[START_DIR]/cache/work/skia",
577    "env": {
578      "CHROME_HEADLESS": "1",
579      "DOCKER_CONFIG": "/home/chrome-bot/.docker",
580      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
581    },
582    "name": "Make code size treemap [START_DIR]/build/dm"
583  },
584  {
585    "name": "$result"
586  }
587]