blob: a127736b05640841e68b267cf0cfc66e8dd06736 [file] [log] [blame]
Eric Borenf7928b42017-07-28 07:35:28 -04001[
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
7 ],
8 "cwd": "[CUSTOM_/_B_WORK]/skia",
9 "env": {
10 "BUILDTYPE": "Release",
11 "CHROME_HEADLESS": "1",
12 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borenbd2e1f12018-04-17 11:28:46 +000013 "SKIA_OUT": "[START_DIR]/out"
Eric Borenf7928b42017-07-28 07:35:28 -040014 },
15 "infra_step": true,
16 "name": "fetch-gn"
17 },
18 {
19 "cmd": [
20 "python",
21 "-u",
22 "[CUSTOM_/_B_WORK]/skia/bin/fetch-clang-format"
23 ],
24 "cwd": "[CUSTOM_/_B_WORK]/skia",
25 "env": {
26 "BUILDTYPE": "Release",
27 "CHROME_HEADLESS": "1",
28 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borenbd2e1f12018-04-17 11:28:46 +000029 "SKIA_OUT": "[START_DIR]/out"
Eric Borenf7928b42017-07-28 07:35:28 -040030 },
31 "infra_step": true,
32 "name": "fetch-clang-format"
33 },
34 {
35 "cmd": [
36 "[CUSTOM_/_B_WORK]/skia/bin/gn",
37 "gen",
Eric Borenbd2e1f12018-04-17 11:28:46 +000038 "[START_DIR]/out/Release",
Eric Borenf7928b42017-07-28 07:35:28 -040039 "--args=is_debug=false skia_compile_processors=true"
40 ],
41 "cwd": "[CUSTOM_/_B_WORK]/skia",
42 "env": {
43 "BUILDTYPE": "Release",
44 "CHROME_HEADLESS": "1",
45 "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borenbd2e1f12018-04-17 11:28:46 +000046 "SKIA_OUT": "[START_DIR]/out"
Eric Borenf7928b42017-07-28 07:35:28 -040047 },
48 "name": "gn gen"
49 },
50 {
51 "cmd": [
52 "ninja",
Mike Klein7a13d872017-11-06 09:28:59 -050053 "-k",
54 "0",
Eric Borenf7928b42017-07-28 07:35:28 -040055 "-C",
Eric Borenbd2e1f12018-04-17 11:28:46 +000056 "[START_DIR]/out/Release"
Eric Borenf7928b42017-07-28 07:35:28 -040057 ],
58 "cwd": "[CUSTOM_/_B_WORK]/skia",
59 "env": {
60 "BUILDTYPE": "Release",
61 "CHROME_HEADLESS": "1",
62 "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borenbd2e1f12018-04-17 11:28:46 +000063 "SKIA_OUT": "[START_DIR]/out"
Eric Borenf7928b42017-07-28 07:35:28 -040064 },
65 "name": "ninja"
66 },
67 {
68 "cmd": [
69 "python",
70 "-u",
71 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
72 "--json-output",
73 "/path/to/tmp/json",
74 "rmtree",
75 "results_dir"
76 ],
77 "infra_step": true,
78 "name": "rmtree results_dir"
79 },
80 {
81 "cmd": [
82 "python",
83 "-u",
84 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
85 "--json-output",
86 "/path/to/tmp/json",
87 "ensure-directory",
88 "--mode",
89 "0777",
90 "results_dir"
91 ],
92 "infra_step": true,
93 "name": "makedirs results_dir"
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 "rmtree",
103 "device_results_dir"
104 ],
105 "infra_step": true,
106 "name": "rmtree device_results_dir"
107 },
108 {
109 "cmd": [
110 "python",
111 "-u",
112 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
113 "--json-output",
114 "/path/to/tmp/json",
115 "ensure-directory",
116 "--mode",
117 "0777",
118 "device_results_dir"
119 ],
120 "infra_step": true,
121 "name": "makedirs device_results_dir"
122 },
123 {
124 "cmd": [
125 "python",
126 "-u",
127 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
128 "--json-output",
129 "/path/to/tmp/json",
130 "copy",
131 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/VERSION",
132 "/path/to/tmp/"
133 ],
134 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400135 "name": "Get skp VERSION"
Eric Borenf7928b42017-07-28 07:35:28 -0400136 },
137 {
138 "cmd": [
139 "python",
140 "-u",
141 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
142 "--json-output",
143 "/path/to/tmp/json",
144 "copy",
145 "42",
146 "[START_DIR]/tmp/SKP_VERSION"
147 ],
148 "infra_step": true,
149 "name": "write SKP_VERSION"
150 },
151 {
152 "cmd": [
153 "python",
154 "-u",
155 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
156 "--json-output",
157 "/path/to/tmp/json",
158 "copy",
159 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skimage/VERSION",
160 "/path/to/tmp/"
161 ],
162 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400163 "name": "Get skimage VERSION"
Eric Borenf7928b42017-07-28 07:35:28 -0400164 },
165 {
166 "cmd": [
167 "python",
168 "-u",
169 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
170 "--json-output",
171 "/path/to/tmp/json",
172 "copy",
173 "42",
174 "[START_DIR]/tmp/SK_IMAGE_VERSION"
175 ],
176 "infra_step": true,
177 "name": "write SK_IMAGE_VERSION"
178 },
179 {
180 "cmd": [
181 "python",
182 "-u",
183 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
184 "--json-output",
185 "/path/to/tmp/json",
186 "copy",
187 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/svg/VERSION",
188 "/path/to/tmp/"
189 ],
190 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400191 "name": "Get svg VERSION"
Eric Borenf7928b42017-07-28 07:35:28 -0400192 },
193 {
194 "cmd": [
195 "python",
196 "-u",
197 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
198 "--json-output",
199 "/path/to/tmp/json",
200 "copy",
201 "42",
202 "[START_DIR]/tmp/SVG_VERSION"
203 ],
204 "infra_step": true,
205 "name": "write SVG_VERSION"
206 },
207 {
Eric Borenf7928b42017-07-28 07:35:28 -0400208 "name": "$result",
209 "recipe_result": null,
210 "status_code": 0
211 }
212]