Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: scripts/slave/recipes/client.fletch.recipe_autogen.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'depot_tools/bot_update', 6 'depot_tools/bot_update',
7 'depot_tools/gclient', 7 'depot_tools/gclient',
8 'depot_tools/infra_paths',
8 'recipe_engine/path', 9 'recipe_engine/path',
9 'recipe_engine/properties', 10 'recipe_engine/properties',
10 'recipe_engine/python', 11 'recipe_engine/python',
11 'recipe_engine/step', 12 'recipe_engine/step',
12 'trigger', 13 'trigger',
13 ] 14 ]
14 15
15 def target_dartino_linux_debug_arm_dev_steps(api): 16 def target_dartino_linux_debug_arm_dev_steps(api):
16 build_properties = api.properties.legacy() 17 build_properties = api.properties.legacy()
17 # update scripts step; implicitly run by recipe engine. 18 # update scripts step; implicitly run by recipe engine.
18 # bot_update step 19 # bot_update step
19 src_cfg = api.gclient.make_config(GIT_MODE=True) 20 src_cfg = api.gclient.make_config(GIT_MODE=True)
20 soln = src_cfg.solutions.add() 21 soln = src_cfg.solutions.add()
21 soln.name = "sdk" 22 soln.name = "sdk"
22 soln.url = "https://github.com/dartino/sdk.git" 23 soln.url = "https://github.com/dartino/sdk.git"
23 soln.custom_deps = {} 24 soln.custom_deps = {}
24 soln.custom_vars = {} 25 soln.custom_vars = {}
25 api.gclient.c = src_cfg 26 api.gclient.c = src_cfg
26 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 27 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
27 build_properties.update(result.json.output.get("properties", {})) 28 build_properties.update(result.json.output.get("properties", {}))
28 # gclient revert step; made unnecessary by bot_update 29 # gclient revert step; made unnecessary by bot_update
29 # gclient update step; made unnecessary by bot_update 30 # gclient update step; made unnecessary by bot_update
30 # gclient runhooks wrapper step 31 # gclient runhooks wrapper step
31 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 32 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
32 'DEPOT_TOOLS_UPDATE': '0'} 33 'DEPOT_TOOLS_UPDATE': '0'}
33 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 34 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
Sergiy Byelozyorov 2016/04/26 14:41:06 nit: long line
34 "slave", "runhooks_wrapper.py"), env=env) 35 "slave", "runhooks_wrapper.py"), env=env)
35 # taskkill step 36 # taskkill step
36 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 37 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
37 "tools", "task_kill.py"), args=["--kill_browsers=True"], 38 "tools", "task_kill.py"), args=["--kill_browsers=True"],
38 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 39 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party',
39 'java', 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 40 'java', 'linux', 'j2sdk')}, cwd=api.path["checkout"])
40 # dartino annotated steps step 41 # dartino annotated steps step
41 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 42 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
42 "dartino.py"), allow_subannotations=True, 43 "dartino.py"), allow_subannotations=True,
43 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 44 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 19 matching lines...) Expand all
63 soln.custom_deps = {} 64 soln.custom_deps = {}
64 soln.custom_vars = {} 65 soln.custom_vars = {}
65 api.gclient.c = src_cfg 66 api.gclient.c = src_cfg
66 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 67 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
67 build_properties.update(result.json.output.get("properties", {})) 68 build_properties.update(result.json.output.get("properties", {}))
68 # gclient revert step; made unnecessary by bot_update 69 # gclient revert step; made unnecessary by bot_update
69 # gclient update step; made unnecessary by bot_update 70 # gclient update step; made unnecessary by bot_update
70 # gclient runhooks wrapper step 71 # gclient runhooks wrapper step
71 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 72 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
72 'DEPOT_TOOLS_UPDATE': '0'} 73 'DEPOT_TOOLS_UPDATE': '0'}
73 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 74 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
74 "slave", "runhooks_wrapper.py"), env=env) 75 "slave", "runhooks_wrapper.py"), env=env)
75 # taskkill step 76 # taskkill step
76 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 77 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
77 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 78 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
78 cwd=api.path["checkout"]) 79 cwd=api.path["checkout"])
79 # dartino annotated steps step 80 # dartino annotated steps step
80 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 81 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
81 "dartino.py"), allow_subannotations=True, 82 "dartino.py"), allow_subannotations=True,
82 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 83 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
83 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 84 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
99 soln.custom_deps = {} 100 soln.custom_deps = {}
100 soln.custom_vars = {} 101 soln.custom_vars = {}
101 api.gclient.c = src_cfg 102 api.gclient.c = src_cfg
102 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 103 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
103 build_properties.update(result.json.output.get("properties", {})) 104 build_properties.update(result.json.output.get("properties", {}))
104 # gclient revert step; made unnecessary by bot_update 105 # gclient revert step; made unnecessary by bot_update
105 # gclient update step; made unnecessary by bot_update 106 # gclient update step; made unnecessary by bot_update
106 # gclient runhooks wrapper step 107 # gclient runhooks wrapper step
107 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 108 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
108 'DEPOT_TOOLS_UPDATE': '0'} 109 'DEPOT_TOOLS_UPDATE': '0'}
109 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 110 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
110 "slave", "runhooks_wrapper.py"), env=env) 111 "slave", "runhooks_wrapper.py"), env=env)
111 # taskkill step 112 # taskkill step
112 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 113 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
113 "tools", "task_kill.py"), args=["--kill_browsers=True"], 114 "tools", "task_kill.py"), args=["--kill_browsers=True"],
114 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 115 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
115 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 116 'linux', 'j2sdk')}, cwd=api.path["checkout"])
116 # dartino annotated steps step 117 # dartino annotated steps step
117 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 118 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
118 "dartino.py"), allow_subannotations=True, 119 "dartino.py"), allow_subannotations=True,
119 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 120 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
138 soln.custom_deps = {} 139 soln.custom_deps = {}
139 soln.custom_vars = {} 140 soln.custom_vars = {}
140 api.gclient.c = src_cfg 141 api.gclient.c = src_cfg
141 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 142 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
142 build_properties.update(result.json.output.get("properties", {})) 143 build_properties.update(result.json.output.get("properties", {}))
143 # gclient revert step; made unnecessary by bot_update 144 # gclient revert step; made unnecessary by bot_update
144 # gclient update step; made unnecessary by bot_update 145 # gclient update step; made unnecessary by bot_update
145 # gclient runhooks wrapper step 146 # gclient runhooks wrapper step
146 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 147 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
147 'DEPOT_TOOLS_UPDATE': '0'} 148 'DEPOT_TOOLS_UPDATE': '0'}
148 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 149 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
149 "slave", "runhooks_wrapper.py"), env=env) 150 "slave", "runhooks_wrapper.py"), env=env)
150 # taskkill step 151 # taskkill step
151 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 152 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
152 "tools", "task_kill.py"), args=["--kill_browsers=True"], 153 "tools", "task_kill.py"), args=["--kill_browsers=True"],
153 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 154 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
154 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 155 'linux', 'j2sdk')}, cwd=api.path["checkout"])
155 # dartino annotated steps step 156 # dartino annotated steps step
156 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 157 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
157 "dartino.py"), allow_subannotations=True, 158 "dartino.py"), allow_subannotations=True,
158 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 159 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
177 soln.custom_deps = {} 178 soln.custom_deps = {}
178 soln.custom_vars = {} 179 soln.custom_vars = {}
179 api.gclient.c = src_cfg 180 api.gclient.c = src_cfg
180 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 181 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
181 build_properties.update(result.json.output.get("properties", {})) 182 build_properties.update(result.json.output.get("properties", {}))
182 # gclient revert step; made unnecessary by bot_update 183 # gclient revert step; made unnecessary by bot_update
183 # gclient update step; made unnecessary by bot_update 184 # gclient update step; made unnecessary by bot_update
184 # gclient runhooks wrapper step 185 # gclient runhooks wrapper step
185 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 186 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
186 'DEPOT_TOOLS_UPDATE': '0'} 187 'DEPOT_TOOLS_UPDATE': '0'}
187 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 188 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
188 "slave", "runhooks_wrapper.py"), env=env) 189 "slave", "runhooks_wrapper.py"), env=env)
189 # taskkill step 190 # taskkill step
190 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 191 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
191 "tools", "task_kill.py"), args=["--kill_browsers=True"], 192 "tools", "task_kill.py"), args=["--kill_browsers=True"],
192 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 193 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
193 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 194 'linux', 'j2sdk')}, cwd=api.path["checkout"])
194 # dartino annotated steps step 195 # dartino annotated steps step
195 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 196 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
196 "dartino.py"), allow_subannotations=True, 197 "dartino.py"), allow_subannotations=True,
197 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 198 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
216 soln.custom_deps = {} 217 soln.custom_deps = {}
217 soln.custom_vars = {} 218 soln.custom_vars = {}
218 api.gclient.c = src_cfg 219 api.gclient.c = src_cfg
219 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 220 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
220 build_properties.update(result.json.output.get("properties", {})) 221 build_properties.update(result.json.output.get("properties", {}))
221 # gclient revert step; made unnecessary by bot_update 222 # gclient revert step; made unnecessary by bot_update
222 # gclient update step; made unnecessary by bot_update 223 # gclient update step; made unnecessary by bot_update
223 # gclient runhooks wrapper step 224 # gclient runhooks wrapper step
224 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 225 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
225 'DEPOT_TOOLS_UPDATE': '0'} 226 'DEPOT_TOOLS_UPDATE': '0'}
226 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 227 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
227 "slave", "runhooks_wrapper.py"), env=env) 228 "slave", "runhooks_wrapper.py"), env=env)
228 # taskkill step 229 # taskkill step
229 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 230 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
230 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 231 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
231 cwd=api.path["checkout"]) 232 cwd=api.path["checkout"])
232 # dartino annotated steps step 233 # dartino annotated steps step
233 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 234 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
234 "dartino.py"), allow_subannotations=True, 235 "dartino.py"), allow_subannotations=True,
235 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 236 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
236 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 237 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
252 soln.custom_deps = {} 253 soln.custom_deps = {}
253 soln.custom_vars = {} 254 soln.custom_vars = {}
254 api.gclient.c = src_cfg 255 api.gclient.c = src_cfg
255 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 256 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
256 build_properties.update(result.json.output.get("properties", {})) 257 build_properties.update(result.json.output.get("properties", {}))
257 # gclient revert step; made unnecessary by bot_update 258 # gclient revert step; made unnecessary by bot_update
258 # gclient update step; made unnecessary by bot_update 259 # gclient update step; made unnecessary by bot_update
259 # gclient runhooks wrapper step 260 # gclient runhooks wrapper step
260 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 261 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
261 'DEPOT_TOOLS_UPDATE': '0'} 262 'DEPOT_TOOLS_UPDATE': '0'}
262 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 263 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
Sergiy Byelozyorov 2016/04/26 14:41:06 I'd recommend keeping double quotes where they are
263 "slave", "runhooks_wrapper.py"), env=env) 264 "slave", "runhooks_wrapper.py"), env=env)
264 # taskkill step 265 # taskkill step
265 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 266 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
266 "tools", "task_kill.py"), args=["--kill_browsers=True"], 267 "tools", "task_kill.py"), args=["--kill_browsers=True"],
267 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 268 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
268 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 269 'linux', 'j2sdk')}, cwd=api.path["checkout"])
269 # dartino annotated steps step 270 # dartino annotated steps step
270 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 271 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
271 "dartino.py"), allow_subannotations=True, 272 "dartino.py"), allow_subannotations=True,
272 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 273 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 22 matching lines...) Expand all
295 soln.custom_deps = {} 296 soln.custom_deps = {}
296 soln.custom_vars = {} 297 soln.custom_vars = {}
297 api.gclient.c = src_cfg 298 api.gclient.c = src_cfg
298 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 299 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
299 build_properties.update(result.json.output.get("properties", {})) 300 build_properties.update(result.json.output.get("properties", {}))
300 # gclient revert step; made unnecessary by bot_update 301 # gclient revert step; made unnecessary by bot_update
301 # gclient update step; made unnecessary by bot_update 302 # gclient update step; made unnecessary by bot_update
302 # gclient runhooks wrapper step 303 # gclient runhooks wrapper step
303 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 304 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
304 'DEPOT_TOOLS_UPDATE': '0'} 305 'DEPOT_TOOLS_UPDATE': '0'}
305 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 306 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
306 "slave", "runhooks_wrapper.py"), env=env) 307 "slave", "runhooks_wrapper.py"), env=env)
307 # taskkill step 308 # taskkill step
308 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 309 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
309 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 310 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
310 cwd=api.path["checkout"]) 311 cwd=api.path["checkout"])
311 # dartino annotated steps step 312 # dartino annotated steps step
312 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 313 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
313 "dartino.py"), allow_subannotations=True, 314 "dartino.py"), allow_subannotations=True,
314 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 315 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
315 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 316 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
331 soln.custom_deps = {} 332 soln.custom_deps = {}
332 soln.custom_vars = {} 333 soln.custom_vars = {}
333 api.gclient.c = src_cfg 334 api.gclient.c = src_cfg
334 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 335 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
335 build_properties.update(result.json.output.get("properties", {})) 336 build_properties.update(result.json.output.get("properties", {}))
336 # gclient revert step; made unnecessary by bot_update 337 # gclient revert step; made unnecessary by bot_update
337 # gclient update step; made unnecessary by bot_update 338 # gclient update step; made unnecessary by bot_update
338 # gclient runhooks wrapper step 339 # gclient runhooks wrapper step
339 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 340 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
340 'DEPOT_TOOLS_UPDATE': '0'} 341 'DEPOT_TOOLS_UPDATE': '0'}
341 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 342 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
342 "slave", "runhooks_wrapper.py"), env=env) 343 "slave", "runhooks_wrapper.py"), env=env)
343 # taskkill step 344 # taskkill step
344 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 345 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
345 "tools", "task_kill.py"), args=["--kill_browsers=True"], 346 "tools", "task_kill.py"), args=["--kill_browsers=True"],
346 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 347 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
347 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 348 'linux', 'j2sdk')}, cwd=api.path["checkout"])
348 # dartino annotated steps step 349 # dartino annotated steps step
349 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 350 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
350 "dartino.py"), allow_subannotations=True, 351 "dartino.py"), allow_subannotations=True,
351 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 352 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 22 matching lines...) Expand all
374 soln.custom_deps = {} 375 soln.custom_deps = {}
375 soln.custom_vars = {} 376 soln.custom_vars = {}
376 api.gclient.c = src_cfg 377 api.gclient.c = src_cfg
377 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 378 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
378 build_properties.update(result.json.output.get("properties", {})) 379 build_properties.update(result.json.output.get("properties", {}))
379 # gclient revert step; made unnecessary by bot_update 380 # gclient revert step; made unnecessary by bot_update
380 # gclient update step; made unnecessary by bot_update 381 # gclient update step; made unnecessary by bot_update
381 # gclient runhooks wrapper step 382 # gclient runhooks wrapper step
382 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 383 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
383 'DEPOT_TOOLS_UPDATE': '0'} 384 'DEPOT_TOOLS_UPDATE': '0'}
384 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 385 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
385 "slave", "runhooks_wrapper.py"), env=env) 386 "slave", "runhooks_wrapper.py"), env=env)
386 # taskkill step 387 # taskkill step
387 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 388 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
388 "tools", "task_kill.py"), args=["--kill_browsers=True"], 389 "tools", "task_kill.py"), args=["--kill_browsers=True"],
389 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 390 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
390 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 391 'linux', 'j2sdk')}, cwd=api.path["checkout"])
391 # dartino annotated steps step 392 # dartino annotated steps step
392 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 393 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
393 "dartino.py"), allow_subannotations=True, 394 "dartino.py"), allow_subannotations=True,
394 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 395 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
413 soln.custom_deps = {} 414 soln.custom_deps = {}
414 soln.custom_vars = {} 415 soln.custom_vars = {}
415 api.gclient.c = src_cfg 416 api.gclient.c = src_cfg
416 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 417 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
417 build_properties.update(result.json.output.get("properties", {})) 418 build_properties.update(result.json.output.get("properties", {}))
418 # gclient revert step; made unnecessary by bot_update 419 # gclient revert step; made unnecessary by bot_update
419 # gclient update step; made unnecessary by bot_update 420 # gclient update step; made unnecessary by bot_update
420 # gclient runhooks wrapper step 421 # gclient runhooks wrapper step
421 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 422 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
422 'DEPOT_TOOLS_UPDATE': '0'} 423 'DEPOT_TOOLS_UPDATE': '0'}
423 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 424 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
424 "slave", "runhooks_wrapper.py"), env=env) 425 "slave", "runhooks_wrapper.py"), env=env)
425 # taskkill step 426 # taskkill step
426 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 427 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
427 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 428 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
428 cwd=api.path["checkout"]) 429 cwd=api.path["checkout"])
429 # dartino annotated steps step 430 # dartino annotated steps step
430 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 431 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
431 "dartino.py"), allow_subannotations=True, 432 "dartino.py"), allow_subannotations=True,
432 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 433 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
433 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 434 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
449 soln.custom_deps = {} 450 soln.custom_deps = {}
450 soln.custom_vars = {} 451 soln.custom_vars = {}
451 api.gclient.c = src_cfg 452 api.gclient.c = src_cfg
452 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 453 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
453 build_properties.update(result.json.output.get("properties", {})) 454 build_properties.update(result.json.output.get("properties", {}))
454 # gclient revert step; made unnecessary by bot_update 455 # gclient revert step; made unnecessary by bot_update
455 # gclient update step; made unnecessary by bot_update 456 # gclient update step; made unnecessary by bot_update
456 # gclient runhooks wrapper step 457 # gclient runhooks wrapper step
457 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 458 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
458 'DEPOT_TOOLS_UPDATE': '0'} 459 'DEPOT_TOOLS_UPDATE': '0'}
459 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 460 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
460 "slave", "runhooks_wrapper.py"), env=env) 461 "slave", "runhooks_wrapper.py"), env=env)
461 # taskkill step 462 # taskkill step
462 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 463 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
463 "tools", "task_kill.py"), args=["--kill_browsers=True"], 464 "tools", "task_kill.py"), args=["--kill_browsers=True"],
464 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 465 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
465 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 466 'linux', 'j2sdk')}, cwd=api.path["checkout"])
466 # dartino annotated steps step 467 # dartino annotated steps step
467 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 468 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
468 "dartino.py"), allow_subannotations=True, 469 "dartino.py"), allow_subannotations=True,
469 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 470 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
488 soln.custom_deps = {} 489 soln.custom_deps = {}
489 soln.custom_vars = {} 490 soln.custom_vars = {}
490 api.gclient.c = src_cfg 491 api.gclient.c = src_cfg
491 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 492 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
492 build_properties.update(result.json.output.get("properties", {})) 493 build_properties.update(result.json.output.get("properties", {}))
493 # gclient revert step; made unnecessary by bot_update 494 # gclient revert step; made unnecessary by bot_update
494 # gclient update step; made unnecessary by bot_update 495 # gclient update step; made unnecessary by bot_update
495 # gclient runhooks wrapper step 496 # gclient runhooks wrapper step
496 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 497 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
497 'DEPOT_TOOLS_UPDATE': '0'} 498 'DEPOT_TOOLS_UPDATE': '0'}
498 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 499 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
499 "slave", "runhooks_wrapper.py"), env=env) 500 "slave", "runhooks_wrapper.py"), env=env)
500 # taskkill step 501 # taskkill step
501 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 502 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
502 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 503 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
503 cwd=api.path["checkout"]) 504 cwd=api.path["checkout"])
504 # dartino annotated steps step 505 # dartino annotated steps step
505 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 506 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
506 "dartino.py"), allow_subannotations=True, 507 "dartino.py"), allow_subannotations=True,
507 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 508 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
508 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 509 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
524 soln.custom_deps = {} 525 soln.custom_deps = {}
525 soln.custom_vars = {} 526 soln.custom_vars = {}
526 api.gclient.c = src_cfg 527 api.gclient.c = src_cfg
527 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 528 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
528 build_properties.update(result.json.output.get("properties", {})) 529 build_properties.update(result.json.output.get("properties", {}))
529 # gclient revert step; made unnecessary by bot_update 530 # gclient revert step; made unnecessary by bot_update
530 # gclient update step; made unnecessary by bot_update 531 # gclient update step; made unnecessary by bot_update
531 # gclient runhooks wrapper step 532 # gclient runhooks wrapper step
532 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 533 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
533 'DEPOT_TOOLS_UPDATE': '0'} 534 'DEPOT_TOOLS_UPDATE': '0'}
534 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 535 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
535 "slave", "runhooks_wrapper.py"), env=env) 536 "slave", "runhooks_wrapper.py"), env=env)
536 # taskkill step 537 # taskkill step
537 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 538 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
538 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 539 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
539 cwd=api.path["checkout"]) 540 cwd=api.path["checkout"])
540 # dartino annotated steps step 541 # dartino annotated steps step
541 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 542 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
542 "dartino.py"), allow_subannotations=True, 543 "dartino.py"), allow_subannotations=True,
543 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 544 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
544 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 545 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
560 soln.custom_deps = {} 561 soln.custom_deps = {}
561 soln.custom_vars = {} 562 soln.custom_vars = {}
562 api.gclient.c = src_cfg 563 api.gclient.c = src_cfg
563 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 564 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
564 build_properties.update(result.json.output.get("properties", {})) 565 build_properties.update(result.json.output.get("properties", {}))
565 # gclient revert step; made unnecessary by bot_update 566 # gclient revert step; made unnecessary by bot_update
566 # gclient update step; made unnecessary by bot_update 567 # gclient update step; made unnecessary by bot_update
567 # gclient runhooks wrapper step 568 # gclient runhooks wrapper step
568 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 569 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
569 'DEPOT_TOOLS_UPDATE': '0'} 570 'DEPOT_TOOLS_UPDATE': '0'}
570 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 571 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
571 "slave", "runhooks_wrapper.py"), env=env) 572 "slave", "runhooks_wrapper.py"), env=env)
572 # taskkill step 573 # taskkill step
573 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 574 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
574 "tools", "task_kill.py"), args=["--kill_browsers=True"], 575 "tools", "task_kill.py"), args=["--kill_browsers=True"],
575 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 576 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
576 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 577 'linux', 'j2sdk')}, cwd=api.path["checkout"])
577 # dartino annotated steps step 578 # dartino annotated steps step
578 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 579 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
579 "dartino.py"), allow_subannotations=True, 580 "dartino.py"), allow_subannotations=True,
580 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 581 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
581 'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 582 'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
582 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 583 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
583 cwd=api.path["checkout"]) 584 cwd=api.path["checkout"])
584 # taskkill step 585 # taskkill step
585 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 586 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
586 "tools", "task_kill.py"), args=["--kill_browsers=True"], 587 "tools", "task_kill.py"), args=["--kill_browsers=True"],
587 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 588 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
588 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 589 'linux', 'j2sdk')}, cwd=api.path["checkout"])
589 590
590 591
591 def dartino_win_debug_x86_steps(api): 592 def dartino_win_debug_x86_steps(api):
592 build_properties = api.properties.legacy() 593 build_properties = api.properties.legacy()
593 # svnkill step; not necessary in recipes 594 # svnkill step; not necessary in recipes
594 # update scripts step; implicitly run by recipe engine. 595 # update scripts step; implicitly run by recipe engine.
595 # taskkill step 596 # taskkill step
596 api.python("taskkill", api.path["build"].join("scripts", "slave", 597 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave",
597 "kill_processes.py")) 598 "kill_processes.py"))
598 # bot_update step 599 # bot_update step
599 src_cfg = api.gclient.make_config(GIT_MODE=True) 600 src_cfg = api.gclient.make_config(GIT_MODE=True)
600 soln = src_cfg.solutions.add() 601 soln = src_cfg.solutions.add()
601 soln.name = "sdk" 602 soln.name = "sdk"
602 soln.url = "https://github.com/dartino/sdk.git" 603 soln.url = "https://github.com/dartino/sdk.git"
603 soln.custom_deps = {} 604 soln.custom_deps = {}
604 soln.custom_vars = {} 605 soln.custom_vars = {}
605 api.gclient.c = src_cfg 606 api.gclient.c = src_cfg
606 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 607 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
607 build_properties.update(result.json.output.get("properties", {})) 608 build_properties.update(result.json.output.get("properties", {}))
608 # gclient revert step; made unnecessary by bot_update 609 # gclient revert step; made unnecessary by bot_update
609 # gclient update step; made unnecessary by bot_update 610 # gclient update step; made unnecessary by bot_update
610 # gclient runhooks wrapper step 611 # gclient runhooks wrapper step
611 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 612 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
612 'DEPOT_TOOLS_UPDATE': '0'} 613 'DEPOT_TOOLS_UPDATE': '0'}
613 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 614 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
614 "slave", "runhooks_wrapper.py"), env=env) 615 "slave", "runhooks_wrapper.py"), env=env)
615 # taskkill step 616 # taskkill step
616 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 617 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
617 "tools", "task_kill.py"), args=["--kill_browsers=True"], 618 "tools", "task_kill.py"), args=["--kill_browsers=True"],
618 cwd=api.path["checkout"]) 619 cwd=api.path["checkout"])
619 # dartino annotated steps step 620 # dartino annotated steps step
620 api.step("annotated steps", ["python_slave", 621 api.step("annotated steps", ["python_slave",
621 api.path["checkout"].join("tools", "bots", "dartino.py")], 622 api.path["checkout"].join("tools", "bots", "dartino.py")],
622 allow_subannotations=True, env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 623 allow_subannotations=True, env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
623 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 624 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
639 soln.custom_deps = {} 640 soln.custom_deps = {}
640 soln.custom_vars = {} 641 soln.custom_vars = {}
641 api.gclient.c = src_cfg 642 api.gclient.c = src_cfg
642 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 643 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
643 build_properties.update(result.json.output.get("properties", {})) 644 build_properties.update(result.json.output.get("properties", {}))
644 # gclient revert step; made unnecessary by bot_update 645 # gclient revert step; made unnecessary by bot_update
645 # gclient update step; made unnecessary by bot_update 646 # gclient update step; made unnecessary by bot_update
646 # gclient runhooks wrapper step 647 # gclient runhooks wrapper step
647 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 648 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
648 'DEPOT_TOOLS_UPDATE': '0'} 649 'DEPOT_TOOLS_UPDATE': '0'}
649 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 650 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
650 "slave", "runhooks_wrapper.py"), env=env) 651 "slave", "runhooks_wrapper.py"), env=env)
651 # taskkill step 652 # taskkill step
652 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 653 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
653 "tools", "task_kill.py"), args=["--kill_browsers=True"], 654 "tools", "task_kill.py"), args=["--kill_browsers=True"],
654 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 655 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
655 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 656 'linux', 'j2sdk')}, cwd=api.path["checkout"])
656 # dartino annotated steps step 657 # dartino annotated steps step
657 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 658 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
658 "dartino.py"), allow_subannotations=True, 659 "dartino.py"), allow_subannotations=True,
659 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 660 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
678 soln.custom_deps = {} 679 soln.custom_deps = {}
679 soln.custom_vars = {} 680 soln.custom_vars = {}
680 api.gclient.c = src_cfg 681 api.gclient.c = src_cfg
681 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 682 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
682 build_properties.update(result.json.output.get("properties", {})) 683 build_properties.update(result.json.output.get("properties", {}))
683 # gclient revert step; made unnecessary by bot_update 684 # gclient revert step; made unnecessary by bot_update
684 # gclient update step; made unnecessary by bot_update 685 # gclient update step; made unnecessary by bot_update
685 # gclient runhooks wrapper step 686 # gclient runhooks wrapper step
686 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 687 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
687 'DEPOT_TOOLS_UPDATE': '0'} 688 'DEPOT_TOOLS_UPDATE': '0'}
688 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 689 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
689 "slave", "runhooks_wrapper.py"), env=env) 690 "slave", "runhooks_wrapper.py"), env=env)
690 # taskkill step 691 # taskkill step
691 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 692 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
692 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 693 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
693 cwd=api.path["checkout"]) 694 cwd=api.path["checkout"])
694 # dartino annotated steps step 695 # dartino annotated steps step
695 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 696 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
696 "dartino.py"), allow_subannotations=True, 697 "dartino.py"), allow_subannotations=True,
697 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 698 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
698 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 699 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
714 soln.custom_deps = {} 715 soln.custom_deps = {}
715 soln.custom_vars = {} 716 soln.custom_vars = {}
716 api.gclient.c = src_cfg 717 api.gclient.c = src_cfg
717 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 718 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
718 build_properties.update(result.json.output.get("properties", {})) 719 build_properties.update(result.json.output.get("properties", {}))
719 # gclient revert step; made unnecessary by bot_update 720 # gclient revert step; made unnecessary by bot_update
720 # gclient update step; made unnecessary by bot_update 721 # gclient update step; made unnecessary by bot_update
721 # gclient runhooks wrapper step 722 # gclient runhooks wrapper step
722 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 723 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
723 'DEPOT_TOOLS_UPDATE': '0'} 724 'DEPOT_TOOLS_UPDATE': '0'}
724 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 725 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
725 "slave", "runhooks_wrapper.py"), env=env) 726 "slave", "runhooks_wrapper.py"), env=env)
726 # taskkill step 727 # taskkill step
727 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 728 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
728 "tools", "task_kill.py"), args=["--kill_browsers=True"], 729 "tools", "task_kill.py"), args=["--kill_browsers=True"],
729 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 730 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
730 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 731 'linux', 'j2sdk')}, cwd=api.path["checkout"])
731 # dartino annotated steps step 732 # dartino annotated steps step
732 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 733 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
733 "dartino.py"), allow_subannotations=True, 734 "dartino.py"), allow_subannotations=True,
734 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 735 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 21 matching lines...) Expand all
756 soln.custom_deps = {} 757 soln.custom_deps = {}
757 soln.custom_vars = {} 758 soln.custom_vars = {}
758 api.gclient.c = src_cfg 759 api.gclient.c = src_cfg
759 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 760 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
760 build_properties.update(result.json.output.get("properties", {})) 761 build_properties.update(result.json.output.get("properties", {}))
761 # gclient revert step; made unnecessary by bot_update 762 # gclient revert step; made unnecessary by bot_update
762 # gclient update step; made unnecessary by bot_update 763 # gclient update step; made unnecessary by bot_update
763 # gclient runhooks wrapper step 764 # gclient runhooks wrapper step
764 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 765 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
765 'DEPOT_TOOLS_UPDATE': '0'} 766 'DEPOT_TOOLS_UPDATE': '0'}
766 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 767 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
767 "slave", "runhooks_wrapper.py"), env=env) 768 "slave", "runhooks_wrapper.py"), env=env)
768 # taskkill step 769 # taskkill step
769 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 770 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
770 "tools", "task_kill.py"), args=["--kill_browsers=True"], 771 "tools", "task_kill.py"), args=["--kill_browsers=True"],
771 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 772 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
772 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 773 'linux', 'j2sdk')}, cwd=api.path["checkout"])
773 # dartino annotated steps step 774 # dartino annotated steps step
774 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 775 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
775 "dartino.py"), allow_subannotations=True, 776 "dartino.py"), allow_subannotations=True,
776 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 777 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
795 soln.custom_deps = {} 796 soln.custom_deps = {}
796 soln.custom_vars = {} 797 soln.custom_vars = {}
797 api.gclient.c = src_cfg 798 api.gclient.c = src_cfg
798 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 799 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
799 build_properties.update(result.json.output.get("properties", {})) 800 build_properties.update(result.json.output.get("properties", {}))
800 # gclient revert step; made unnecessary by bot_update 801 # gclient revert step; made unnecessary by bot_update
801 # gclient update step; made unnecessary by bot_update 802 # gclient update step; made unnecessary by bot_update
802 # gclient runhooks wrapper step 803 # gclient runhooks wrapper step
803 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 804 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
804 'DEPOT_TOOLS_UPDATE': '0'} 805 'DEPOT_TOOLS_UPDATE': '0'}
805 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 806 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
806 "slave", "runhooks_wrapper.py"), env=env) 807 "slave", "runhooks_wrapper.py"), env=env)
807 # taskkill step 808 # taskkill step
808 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 809 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
809 "tools", "task_kill.py"), args=["--kill_browsers=True"], 810 "tools", "task_kill.py"), args=["--kill_browsers=True"],
810 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 811 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
811 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 812 'linux', 'j2sdk')}, cwd=api.path["checkout"])
812 # dartino annotated steps step 813 # dartino annotated steps step
813 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 814 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
814 "dartino.py"), allow_subannotations=True, 815 "dartino.py"), allow_subannotations=True,
815 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 816 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
834 soln.custom_deps = {} 835 soln.custom_deps = {}
835 soln.custom_vars = {} 836 soln.custom_vars = {}
836 api.gclient.c = src_cfg 837 api.gclient.c = src_cfg
837 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 838 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
838 build_properties.update(result.json.output.get("properties", {})) 839 build_properties.update(result.json.output.get("properties", {}))
839 # gclient revert step; made unnecessary by bot_update 840 # gclient revert step; made unnecessary by bot_update
840 # gclient update step; made unnecessary by bot_update 841 # gclient update step; made unnecessary by bot_update
841 # gclient runhooks wrapper step 842 # gclient runhooks wrapper step
842 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 843 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
843 'DEPOT_TOOLS_UPDATE': '0'} 844 'DEPOT_TOOLS_UPDATE': '0'}
844 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 845 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
845 "slave", "runhooks_wrapper.py"), env=env) 846 "slave", "runhooks_wrapper.py"), env=env)
846 # taskkill step 847 # taskkill step
847 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 848 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
848 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 849 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
849 cwd=api.path["checkout"]) 850 cwd=api.path["checkout"])
850 # dartino annotated steps step 851 # dartino annotated steps step
851 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 852 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
852 "dartino.py"), allow_subannotations=True, 853 "dartino.py"), allow_subannotations=True,
853 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 854 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
854 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 855 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
870 soln.custom_deps = {} 871 soln.custom_deps = {}
871 soln.custom_vars = {} 872 soln.custom_vars = {}
872 api.gclient.c = src_cfg 873 api.gclient.c = src_cfg
873 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 874 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
874 build_properties.update(result.json.output.get("properties", {})) 875 build_properties.update(result.json.output.get("properties", {}))
875 # gclient revert step; made unnecessary by bot_update 876 # gclient revert step; made unnecessary by bot_update
876 # gclient update step; made unnecessary by bot_update 877 # gclient update step; made unnecessary by bot_update
877 # gclient runhooks wrapper step 878 # gclient runhooks wrapper step
878 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 879 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
879 'DEPOT_TOOLS_UPDATE': '0'} 880 'DEPOT_TOOLS_UPDATE': '0'}
880 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 881 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
881 "slave", "runhooks_wrapper.py"), env=env) 882 "slave", "runhooks_wrapper.py"), env=env)
882 # taskkill step 883 # taskkill step
883 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 884 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
884 "tools", "task_kill.py"), args=["--kill_browsers=True"], 885 "tools", "task_kill.py"), args=["--kill_browsers=True"],
885 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 886 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
886 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 887 'linux', 'j2sdk')}, cwd=api.path["checkout"])
887 # dartino annotated steps step 888 # dartino annotated steps step
888 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 889 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
889 "dartino.py"), allow_subannotations=True, 890 "dartino.py"), allow_subannotations=True,
890 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 891 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
909 soln.custom_deps = {} 910 soln.custom_deps = {}
910 soln.custom_vars = {} 911 soln.custom_vars = {}
911 api.gclient.c = src_cfg 912 api.gclient.c = src_cfg
912 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 913 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
913 build_properties.update(result.json.output.get("properties", {})) 914 build_properties.update(result.json.output.get("properties", {}))
914 # gclient revert step; made unnecessary by bot_update 915 # gclient revert step; made unnecessary by bot_update
915 # gclient update step; made unnecessary by bot_update 916 # gclient update step; made unnecessary by bot_update
916 # gclient runhooks wrapper step 917 # gclient runhooks wrapper step
917 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 918 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
918 'DEPOT_TOOLS_UPDATE': '0'} 919 'DEPOT_TOOLS_UPDATE': '0'}
919 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 920 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
920 "slave", "runhooks_wrapper.py"), env=env) 921 "slave", "runhooks_wrapper.py"), env=env)
921 # taskkill step 922 # taskkill step
922 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 923 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
923 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 924 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
924 cwd=api.path["checkout"]) 925 cwd=api.path["checkout"])
925 # dartino annotated steps step 926 # dartino annotated steps step
926 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 927 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
927 "dartino.py"), allow_subannotations=True, 928 "dartino.py"), allow_subannotations=True,
928 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 929 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
929 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 930 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
945 soln.custom_deps = {} 946 soln.custom_deps = {}
946 soln.custom_vars = {} 947 soln.custom_vars = {}
947 api.gclient.c = src_cfg 948 api.gclient.c = src_cfg
948 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 949 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
949 build_properties.update(result.json.output.get("properties", {})) 950 build_properties.update(result.json.output.get("properties", {}))
950 # gclient revert step; made unnecessary by bot_update 951 # gclient revert step; made unnecessary by bot_update
951 # gclient update step; made unnecessary by bot_update 952 # gclient update step; made unnecessary by bot_update
952 # gclient runhooks wrapper step 953 # gclient runhooks wrapper step
953 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 954 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
954 'DEPOT_TOOLS_UPDATE': '0'} 955 'DEPOT_TOOLS_UPDATE': '0'}
955 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 956 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
956 "slave", "runhooks_wrapper.py"), env=env) 957 "slave", "runhooks_wrapper.py"), env=env)
957 # taskkill step 958 # taskkill step
958 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 959 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
959 "tools", "task_kill.py"), args=["--kill_browsers=True"], 960 "tools", "task_kill.py"), args=["--kill_browsers=True"],
960 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 961 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
961 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 962 'linux', 'j2sdk')}, cwd=api.path["checkout"])
962 # dartino annotated steps step 963 # dartino annotated steps step
963 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 964 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
964 "dartino.py"), allow_subannotations=True, 965 "dartino.py"), allow_subannotations=True,
965 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 966 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 21 matching lines...) Expand all
987 soln.custom_deps = {} 988 soln.custom_deps = {}
988 soln.custom_vars = {} 989 soln.custom_vars = {}
989 api.gclient.c = src_cfg 990 api.gclient.c = src_cfg
990 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 991 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
991 build_properties.update(result.json.output.get("properties", {})) 992 build_properties.update(result.json.output.get("properties", {}))
992 # gclient revert step; made unnecessary by bot_update 993 # gclient revert step; made unnecessary by bot_update
993 # gclient update step; made unnecessary by bot_update 994 # gclient update step; made unnecessary by bot_update
994 # gclient runhooks wrapper step 995 # gclient runhooks wrapper step
995 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 996 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
996 'DEPOT_TOOLS_UPDATE': '0'} 997 'DEPOT_TOOLS_UPDATE': '0'}
997 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 998 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
998 "slave", "runhooks_wrapper.py"), env=env) 999 "slave", "runhooks_wrapper.py"), env=env)
999 # taskkill step 1000 # taskkill step
1000 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1001 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1001 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1002 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1002 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1003 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1003 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1004 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1004 # dartino annotated steps step 1005 # dartino annotated steps step
1005 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1006 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1006 "dartino.py"), allow_subannotations=True, 1007 "dartino.py"), allow_subannotations=True,
1007 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 1008 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
1026 soln.custom_deps = {} 1027 soln.custom_deps = {}
1027 soln.custom_vars = {} 1028 soln.custom_vars = {}
1028 api.gclient.c = src_cfg 1029 api.gclient.c = src_cfg
1029 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1030 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1030 build_properties.update(result.json.output.get("properties", {})) 1031 build_properties.update(result.json.output.get("properties", {}))
1031 # gclient revert step; made unnecessary by bot_update 1032 # gclient revert step; made unnecessary by bot_update
1032 # gclient update step; made unnecessary by bot_update 1033 # gclient update step; made unnecessary by bot_update
1033 # gclient runhooks wrapper step 1034 # gclient runhooks wrapper step
1034 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1035 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1035 'DEPOT_TOOLS_UPDATE': '0'} 1036 'DEPOT_TOOLS_UPDATE': '0'}
1036 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1037 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1037 "slave", "runhooks_wrapper.py"), env=env) 1038 "slave", "runhooks_wrapper.py"), env=env)
1038 # taskkill step 1039 # taskkill step
1039 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1040 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1040 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={}, 1041 "tools", "task_kill.py"), args=["--kill_browsers=True"], env={},
1041 cwd=api.path["checkout"]) 1042 cwd=api.path["checkout"])
1042 # dartino annotated steps step 1043 # dartino annotated steps step
1043 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1044 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1044 "dartino.py"), allow_subannotations=True, 1045 "dartino.py"), allow_subannotations=True,
1045 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 1046 env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
1046 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 1047 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 15 matching lines...) Expand all
1062 soln.custom_deps = {} 1063 soln.custom_deps = {}
1063 soln.custom_vars = {} 1064 soln.custom_vars = {}
1064 api.gclient.c = src_cfg 1065 api.gclient.c = src_cfg
1065 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1066 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1066 build_properties.update(result.json.output.get("properties", {})) 1067 build_properties.update(result.json.output.get("properties", {}))
1067 # gclient revert step; made unnecessary by bot_update 1068 # gclient revert step; made unnecessary by bot_update
1068 # gclient update step; made unnecessary by bot_update 1069 # gclient update step; made unnecessary by bot_update
1069 # gclient runhooks wrapper step 1070 # gclient runhooks wrapper step
1070 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1071 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1071 'DEPOT_TOOLS_UPDATE': '0'} 1072 'DEPOT_TOOLS_UPDATE': '0'}
1072 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1073 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1073 "slave", "runhooks_wrapper.py"), env=env) 1074 "slave", "runhooks_wrapper.py"), env=env)
1074 # taskkill step 1075 # taskkill step
1075 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1076 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1076 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1077 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1077 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1078 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1078 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1079 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1079 # dartino annotated steps step 1080 # dartino annotated steps step
1080 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1081 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1081 "dartino.py"), allow_subannotations=True, 1082 "dartino.py"), allow_subannotations=True,
1082 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 1083 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
1101 soln.custom_deps = {} 1102 soln.custom_deps = {}
1102 soln.custom_vars = {} 1103 soln.custom_vars = {}
1103 api.gclient.c = src_cfg 1104 api.gclient.c = src_cfg
1104 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1105 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1105 build_properties.update(result.json.output.get("properties", {})) 1106 build_properties.update(result.json.output.get("properties", {}))
1106 # gclient revert step; made unnecessary by bot_update 1107 # gclient revert step; made unnecessary by bot_update
1107 # gclient update step; made unnecessary by bot_update 1108 # gclient update step; made unnecessary by bot_update
1108 # gclient runhooks wrapper step 1109 # gclient runhooks wrapper step
1109 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1110 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1110 'DEPOT_TOOLS_UPDATE': '0'} 1111 'DEPOT_TOOLS_UPDATE': '0'}
1111 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1112 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1112 "slave", "runhooks_wrapper.py"), env=env) 1113 "slave", "runhooks_wrapper.py"), env=env)
1113 # taskkill step 1114 # taskkill step
1114 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1115 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1115 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1116 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1116 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1117 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1117 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1118 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1118 # dartino annotated steps step 1119 # dartino annotated steps step
1119 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1120 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1120 "dartino.py"), allow_subannotations=True, 1121 "dartino.py"), allow_subannotations=True,
1121 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 1122 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
1140 soln.custom_deps = {} 1141 soln.custom_deps = {}
1141 soln.custom_vars = {} 1142 soln.custom_vars = {}
1142 api.gclient.c = src_cfg 1143 api.gclient.c = src_cfg
1143 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1144 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1144 build_properties.update(result.json.output.get("properties", {})) 1145 build_properties.update(result.json.output.get("properties", {}))
1145 # gclient revert step; made unnecessary by bot_update 1146 # gclient revert step; made unnecessary by bot_update
1146 # gclient update step; made unnecessary by bot_update 1147 # gclient update step; made unnecessary by bot_update
1147 # gclient runhooks wrapper step 1148 # gclient runhooks wrapper step
1148 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1149 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1149 'DEPOT_TOOLS_UPDATE': '0'} 1150 'DEPOT_TOOLS_UPDATE': '0'}
1150 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1151 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1151 "slave", "runhooks_wrapper.py"), env=env) 1152 "slave", "runhooks_wrapper.py"), env=env)
1152 # taskkill step 1153 # taskkill step
1153 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1154 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1154 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1155 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1155 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1156 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1156 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1157 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1157 # dartino annotated steps step 1158 # dartino annotated steps step
1158 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1159 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1159 "dartino.py"), allow_subannotations=True, 1160 "dartino.py"), allow_subannotations=True,
1160 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 1161 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
(...skipping 18 matching lines...) Expand all
1179 soln.custom_deps = {} 1180 soln.custom_deps = {}
1180 soln.custom_vars = {} 1181 soln.custom_vars = {}
1181 api.gclient.c = src_cfg 1182 api.gclient.c = src_cfg
1182 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1183 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1183 build_properties.update(result.json.output.get("properties", {})) 1184 build_properties.update(result.json.output.get("properties", {}))
1184 # gclient revert step; made unnecessary by bot_update 1185 # gclient revert step; made unnecessary by bot_update
1185 # gclient update step; made unnecessary by bot_update 1186 # gclient update step; made unnecessary by bot_update
1186 # gclient runhooks wrapper step 1187 # gclient runhooks wrapper step
1187 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1188 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1188 'DEPOT_TOOLS_UPDATE': '0'} 1189 'DEPOT_TOOLS_UPDATE': '0'}
1189 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1190 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1190 "slave", "runhooks_wrapper.py"), env=env) 1191 "slave", "runhooks_wrapper.py"), env=env)
1191 # taskkill step 1192 # taskkill step
1192 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1193 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1193 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1194 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1194 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1195 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1195 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1196 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1196 # dartino annotated steps step 1197 # dartino annotated steps step
1197 api.python("annotated steps", api.path["checkout"].join("tools", "bots", 1198 api.python("annotated steps", api.path["checkout"].join("tools", "bots",
1198 "dartino.py"), allow_subannotations=True, 1199 "dartino.py"), allow_subannotations=True,
1199 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk', 1200 env={'BUILDBOT_JAVA_HOME': 'third_party/java/linux/j2sdk',
1200 'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 1201 'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
1201 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 1202 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
1202 cwd=api.path["checkout"]) 1203 cwd=api.path["checkout"])
1203 # taskkill step 1204 # taskkill step
1204 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1205 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1205 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1206 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1206 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java', 1207 env={'BUILDBOT_JAVA_HOME': api.path['checkout'].join('third_party', 'java',
1207 'linux', 'j2sdk')}, cwd=api.path["checkout"]) 1208 'linux', 'j2sdk')}, cwd=api.path["checkout"])
1208 1209
1209 1210
1210 def dartino_win_debug_x86_dev_steps(api): 1211 def dartino_win_debug_x86_dev_steps(api):
1211 build_properties = api.properties.legacy() 1212 build_properties = api.properties.legacy()
1212 # svnkill step; not necessary in recipes 1213 # svnkill step; not necessary in recipes
1213 # update scripts step; implicitly run by recipe engine. 1214 # update scripts step; implicitly run by recipe engine.
1214 # taskkill step 1215 # taskkill step
1215 api.python("taskkill", api.path["build"].join("scripts", "slave", 1216 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave",
1216 "kill_processes.py")) 1217 "kill_processes.py"))
1217 # bot_update step 1218 # bot_update step
1218 src_cfg = api.gclient.make_config(GIT_MODE=True) 1219 src_cfg = api.gclient.make_config(GIT_MODE=True)
1219 soln = src_cfg.solutions.add() 1220 soln = src_cfg.solutions.add()
1220 soln.name = "sdk" 1221 soln.name = "sdk"
1221 soln.url = "https://github.com/dartino/sdk.git" 1222 soln.url = "https://github.com/dartino/sdk.git"
1222 soln.custom_deps = {} 1223 soln.custom_deps = {}
1223 soln.custom_vars = {} 1224 soln.custom_vars = {}
1224 api.gclient.c = src_cfg 1225 api.gclient.c = src_cfg
1225 result = api.bot_update.ensure_checkout(force=True, no_shallow=True) 1226 result = api.bot_update.ensure_checkout(force=True, no_shallow=True)
1226 build_properties.update(result.json.output.get("properties", {})) 1227 build_properties.update(result.json.output.get("properties", {}))
1227 # gclient revert step; made unnecessary by bot_update 1228 # gclient revert step; made unnecessary by bot_update
1228 # gclient update step; made unnecessary by bot_update 1229 # gclient update step; made unnecessary by bot_update
1229 # gclient runhooks wrapper step 1230 # gclient runhooks wrapper step
1230 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1', 1231 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 'LANDMINES_VERBOSE': '1',
1231 'DEPOT_TOOLS_UPDATE': '0'} 1232 'DEPOT_TOOLS_UPDATE': '0'}
1232 api.python("gclient runhooks wrapper", api.path["build"].join("scripts", 1233 api.python("gclient runhooks wrapper", api.infra_paths['build'].join("scripts" ,
1233 "slave", "runhooks_wrapper.py"), env=env) 1234 "slave", "runhooks_wrapper.py"), env=env)
1234 # taskkill step 1235 # taskkill step
1235 api.python("Taskkill", api.path["checkout"].join("third_party", "dart", 1236 api.python("Taskkill", api.path["checkout"].join("third_party", "dart",
1236 "tools", "task_kill.py"), args=["--kill_browsers=True"], 1237 "tools", "task_kill.py"), args=["--kill_browsers=True"],
1237 cwd=api.path["checkout"]) 1238 cwd=api.path["checkout"])
1238 # dartino annotated steps step 1239 # dartino annotated steps step
1239 api.step("annotated steps", ["python_slave", 1240 api.step("annotated steps", ["python_slave",
1240 api.path["checkout"].join("tools", "bots", "dartino.py")], 1241 api.path["checkout"].join("tools", "bots", "dartino.py")],
1241 allow_subannotations=True, env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1', 1242 allow_subannotations=True, env={'BUILDBOT_ANNOTATED_STEPS_RUN': '1',
1242 "BUILDBOT_BUILDERNAME": api.properties["buildername"]}, 1243 "BUILDBOT_BUILDERNAME": api.properties["buildername"]},
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 api.properties(mastername='client.fletch') + 1484 api.properties(mastername='client.fletch') +
1484 api.properties(buildername='dartino-win-debug-x86-dev') + 1485 api.properties(buildername='dartino-win-debug-x86-dev') +
1485 api.properties(revision='123456789abcdef') + 1486 api.properties(revision='123456789abcdef') +
1486 api.properties(slavename='TestSlave') 1487 api.properties(slavename='TestSlave')
1487 ) 1488 )
1488 yield (api.test('builder_not_in_dispatch_directory') + 1489 yield (api.test('builder_not_in_dispatch_directory') +
1489 api.properties(mastername='client.fletch') + 1490 api.properties(mastername='client.fletch') +
1490 api.properties(buildername='nonexistent_builder') + 1491 api.properties(buildername='nonexistent_builder') +
1491 api.properties(slavename='TestSlave') 1492 api.properties(slavename='TestSlave')
1492 ) 1493 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698