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