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

Side by Side Diff: scripts/slave/recipes/crashpad/continuous.py

Issue 2269263002: Make all the rest of the recipes explicitly specify GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Buildbot recipe definition for the various Crashpad continuous builders. 5 """Buildbot recipe definition for the various Crashpad continuous builders.
6 """ 6 """
7 7
8 DEPS = [ 8 DEPS = [
9 'file', 9 'file',
10 'depot_tools/gclient', 10 'depot_tools/gclient',
11 'recipe_engine/path', 11 'recipe_engine/path',
12 'recipe_engine/platform', 12 'recipe_engine/platform',
13 'recipe_engine/properties', 13 'recipe_engine/properties',
14 'recipe_engine/python', 14 'recipe_engine/python',
15 'recipe_engine/step', 15 'recipe_engine/step',
16 ] 16 ]
17 17
18 18
19 def RunSteps(api): 19 def RunSteps(api):
20 """Generates the sequence of steps that will be run by the slave.""" 20 """Generates the sequence of steps that will be run by the slave."""
21 api.gclient.set_config('crashpad') 21 api.gclient.set_config('crashpad', GIT_MODE=True)
22 api.gclient.checkout() 22 api.gclient.checkout()
23 23
24 # buildbot sets 'clobber' to the empty string which is falsey, check with 'in' 24 # buildbot sets 'clobber' to the empty string which is falsey, check with 'in'
25 if 'clobber' in api.properties: 25 if 'clobber' in api.properties:
26 api.file.rmtree('out', api.path['checkout'].join('out')) 26 api.file.rmtree('out', api.path['checkout'].join('out'))
27 27
28 buildername = api.properties['buildername'] 28 buildername = api.properties['buildername']
29 env = {} 29 env = {}
30 if '_x86' in buildername: 30 if '_x86' in buildername:
31 env = {'GYP_DEFINES': 'target_arch=ia32'} 31 env = {'GYP_DEFINES': 'target_arch=ia32'}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'crashpad_win_x64_rel', 69 'crashpad_win_x64_rel',
70 'crashpad_win_x86_dbg', 70 'crashpad_win_x86_dbg',
71 'crashpad_win_x86_rel', 71 'crashpad_win_x86_rel',
72 'crashpad_win_x86_wow64_dbg', 72 'crashpad_win_x86_wow64_dbg',
73 'crashpad_win_x86_wow64_rel', 73 'crashpad_win_x86_wow64_rel',
74 ] 74 ]
75 for t in tests: 75 for t in tests:
76 yield(api.test(t) + api.properties.generic(buildername=t)) 76 yield(api.test(t) + api.properties.generic(buildername=t))
77 yield(api.test(t + '_clobber') + 77 yield(api.test(t + '_clobber') +
78 api.properties.generic(buildername=t, clobber=True)) 78 api.properties.generic(buildername=t, clobber=True))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698