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

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

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

Powered by Google App Engine
This is Rietveld 408576698