• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp"
13    ],
14    "infra_step": true,
15    "name": "makedirs tmp_dir"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "copy",
25      "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
26      "/path/to/tmp/"
27    ],
28    "infra_step": true,
29    "name": "Get skp VERSION"
30  },
31  {
32    "cmd": [
33      "python",
34      "-u",
35      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36      "--json-output",
37      "/path/to/tmp/json",
38      "copy",
39      "42",
40      "[START_DIR]/tmp/SKP_VERSION"
41    ],
42    "infra_step": true,
43    "name": "write SKP_VERSION",
44    "~followup_annotations": [
45      "@@@STEP_LOG_LINE@SKP_VERSION@42@@@",
46      "@@@STEP_LOG_END@SKP_VERSION@@@"
47    ]
48  },
49  {
50    "cmd": [
51      "python",
52      "-u",
53      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
54      "--json-output",
55      "/path/to/tmp/json",
56      "copy",
57      "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
58      "/path/to/tmp/"
59    ],
60    "infra_step": true,
61    "name": "Get skimage VERSION"
62  },
63  {
64    "cmd": [
65      "python",
66      "-u",
67      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
68      "--json-output",
69      "/path/to/tmp/json",
70      "copy",
71      "42",
72      "[START_DIR]/tmp/SK_IMAGE_VERSION"
73    ],
74    "infra_step": true,
75    "name": "write SK_IMAGE_VERSION",
76    "~followup_annotations": [
77      "@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@",
78      "@@@STEP_LOG_END@SK_IMAGE_VERSION@@@"
79    ]
80  },
81  {
82    "cmd": [
83      "python",
84      "-u",
85      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
86      "--json-output",
87      "/path/to/tmp/json",
88      "copy",
89      "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
90      "/path/to/tmp/"
91    ],
92    "infra_step": true,
93    "name": "Get svg VERSION"
94  },
95  {
96    "cmd": [
97      "python",
98      "-u",
99      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
100      "--json-output",
101      "/path/to/tmp/json",
102      "copy",
103      "42",
104      "[START_DIR]/tmp/SVG_VERSION"
105    ],
106    "infra_step": true,
107    "name": "write SVG_VERSION",
108    "~followup_annotations": [
109      "@@@STEP_LOG_LINE@SVG_VERSION@42@@@",
110      "@@@STEP_LOG_END@SVG_VERSION@@@"
111    ]
112  },
113  {
114    "cmd": [
115      "python",
116      "-u",
117      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
118    ],
119    "name": "get swarming bot id",
120    "~followup_annotations": [
121      "@@@STEP_LOG_LINE@python.inline@import os@@@",
122      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
123      "@@@STEP_LOG_END@python.inline@@@"
124    ]
125  },
126  {
127    "cmd": [
128      "python",
129      "-u",
130      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
131    ],
132    "name": "get swarming task id",
133    "~followup_annotations": [
134      "@@@STEP_LOG_LINE@python.inline@import os@@@",
135      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
136      "@@@STEP_LOG_END@python.inline@@@"
137    ]
138  },
139  {
140    "cmd": [
141      "python",
142      "-u",
143      "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
144      "[START_DIR]",
145      "catchsegv",
146      "[START_DIR]/build/nanobench",
147      "-i",
148      "[START_DIR]/skia/resources",
149      "--skps",
150      "[START_DIR]/skp",
151      "--images",
152      "[START_DIR]/skimage/nanobench",
153      "--svgs",
154      "[START_DIR]/svg",
155      "--pre_log",
156      "--scales",
157      "1.0",
158      "1.1",
159      "--nogpu",
160      "--config",
161      "8888",
162      "nonrendering",
163      "--loops",
164      "1",
165      "--samples",
166      "1",
167      "--keepAlive",
168      "true",
169      "--match",
170      "~inc0.gif",
171      "~inc1.gif",
172      "~incInterlaced.gif",
173      "~inc0.jpg",
174      "~incGray.jpg",
175      "~inc0.wbmp",
176      "~inc1.wbmp",
177      "~inc0.webp",
178      "~inc1.webp",
179      "~inc0.ico",
180      "~inc1.ico",
181      "~inc0.png",
182      "~inc1.png",
183      "~inc2.png",
184      "~inc12.png",
185      "~inc13.png",
186      "~inc14.png",
187      "~inc0.webp",
188      "~inc1.webp"
189    ],
190    "cwd": "[START_DIR]/skia",
191    "env": {
192      "CHROME_HEADLESS": "1",
193      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
194    },
195    "name": "symbolized nanobench"
196  },
197  {
198    "name": "$result"
199  }
200]