1[
2  {
3    "cmd": [
4      "vpython3",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "copy",
10      "file.txt",
11      "/path/to/tmp/"
12    ],
13    "infra_step": true,
14    "name": "read file.txt",
15    "~followup_annotations": [
16      "@@@[email protected]@@@"
17    ]
18  },
19  {
20    "cmd": [
21      "vpython3",
22      "-u",
23      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
24      "--json-output",
25      "/path/to/tmp/json",
26      "remove",
27      "file.txt"
28    ],
29    "infra_step": true,
30    "name": "remove file.txt"
31  },
32  {
33    "cmd": [
34      "vpython3",
35      "-u",
36      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
37      "--json-output",
38      "/path/to/tmp/json",
39      "rmtree",
40      "results_dir"
41    ],
42    "infra_step": true,
43    "name": "rmtree results_dir"
44  },
45  {
46    "cmd": [
47      "vpython3",
48      "-u",
49      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50      "--json-output",
51      "/path/to/tmp/json",
52      "ensure-directory",
53      "--mode",
54      "0o777",
55      "results_dir"
56    ],
57    "infra_step": true,
58    "name": "makedirs results_dir"
59  },
60  {
61    "cmd": [
62      "vpython3",
63      "-u",
64      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
65      "--json-output",
66      "/path/to/tmp/json",
67      "rmtree",
68      "device_results_dir"
69    ],
70    "infra_step": true,
71    "name": "rmtree device_results_dir"
72  },
73  {
74    "cmd": [
75      "vpython3",
76      "-u",
77      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
78      "--json-output",
79      "/path/to/tmp/json",
80      "ensure-directory",
81      "--mode",
82      "0o777",
83      "device_results_dir"
84    ],
85    "infra_step": true,
86    "name": "makedirs device_results_dir"
87  },
88  {
89    "cmd": [
90      "vpython3",
91      "-u",
92      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
93      "--json-output",
94      "/path/to/tmp/json",
95      "copy",
96      "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
97      "/path/to/tmp/"
98    ],
99    "infra_step": true,
100    "name": "Get skp VERSION",
101    "~followup_annotations": [
102      "@@@STEP_LOG_LINE@VERSION@42@@@",
103      "@@@STEP_LOG_END@VERSION@@@"
104    ]
105  },
106  {
107    "cmd": [
108      "vpython3",
109      "-u",
110      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
111      "--json-output",
112      "/path/to/tmp/json",
113      "copy",
114      "42",
115      "[START_DIR]/tmp/SKP_VERSION"
116    ],
117    "infra_step": true,
118    "name": "write SKP_VERSION",
119    "~followup_annotations": [
120      "@@@STEP_LOG_LINE@SKP_VERSION@42@@@",
121      "@@@STEP_LOG_END@SKP_VERSION@@@"
122    ]
123  },
124  {
125    "cmd": [
126      "vpython3",
127      "-u",
128      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
129      "--json-output",
130      "/path/to/tmp/json",
131      "copy",
132      "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
133      "/path/to/tmp/"
134    ],
135    "infra_step": true,
136    "name": "Get skimage VERSION",
137    "~followup_annotations": [
138      "@@@STEP_LOG_LINE@VERSION@42@@@",
139      "@@@STEP_LOG_END@VERSION@@@"
140    ]
141  },
142  {
143    "cmd": [
144      "vpython3",
145      "-u",
146      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
147      "--json-output",
148      "/path/to/tmp/json",
149      "copy",
150      "42",
151      "[START_DIR]/tmp/SK_IMAGE_VERSION"
152    ],
153    "infra_step": true,
154    "name": "write SK_IMAGE_VERSION",
155    "~followup_annotations": [
156      "@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@",
157      "@@@STEP_LOG_END@SK_IMAGE_VERSION@@@"
158    ]
159  },
160  {
161    "cmd": [
162      "vpython3",
163      "-u",
164      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
165      "--json-output",
166      "/path/to/tmp/json",
167      "copy",
168      "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
169      "/path/to/tmp/"
170    ],
171    "infra_step": true,
172    "name": "Get svg VERSION",
173    "~followup_annotations": [
174      "@@@STEP_LOG_LINE@VERSION@42@@@",
175      "@@@STEP_LOG_END@VERSION@@@"
176    ]
177  },
178  {
179    "cmd": [
180      "vpython3",
181      "-u",
182      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
183      "--json-output",
184      "/path/to/tmp/json",
185      "copy",
186      "42",
187      "[START_DIR]/tmp/SVG_VERSION"
188    ],
189    "infra_step": true,
190    "name": "write SVG_VERSION",
191    "~followup_annotations": [
192      "@@@STEP_LOG_LINE@SVG_VERSION@42@@@",
193      "@@@STEP_LOG_END@SVG_VERSION@@@"
194    ]
195  },
196  {
197    "cmd": [
198      "python3",
199      "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
200      "[START_DIR]",
201      "[START_DIR]/build/dm",
202      "--some-flag"
203    ],
204    "cwd": "[START_DIR]/skia",
205    "env": {
206      "CHROME_HEADLESS": "1",
207      "LLVM_PROFILE_FILE": "[START_DIR]/[SWARM_OUT_DIR]/All.profraw",
208      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
209    },
210    "name": "symbolized dm"
211  },
212  {
213    "name": "$result"
214  }
215]