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

Side by Side Diff: scripts/slave/recipes/boringssl.py

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 from recipe_engine.recipe_api import Property 5 from recipe_engine.recipe_api import Property
6 6
7 DEPS = [ 7 DEPS = [
8 'chromium', 8 'chromium',
9 'depot_tools/bot_update', 9 'depot_tools/bot_update',
10 'depot_tools/depot_tools', 10 'depot_tools/depot_tools',
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 PROPERTIES = { 134 PROPERTIES = {
135 'buildername': Property(), 135 'buildername': Property(),
136 } 136 }
137 137
138 138
139 def RunSteps(api, buildername): 139 def RunSteps(api, buildername):
140 # Sync and pull in everything. 140 # Sync and pull in everything.
141 api.gclient.set_config('boringssl') 141 api.gclient.set_config('boringssl')
142 if _HasToken(buildername, 'android'): 142 if _HasToken(buildername, 'android'):
143 api.gclient.c.target_os.add('android') 143 api.gclient.c.target_os.add('android')
144 api.bot_update.ensure_checkout(force=True) 144 api.bot_update.ensure_checkout()
145 api.gclient.runhooks() 145 api.gclient.runhooks()
146 146
147 # Set up paths. 147 # Set up paths.
148 bot_utils = api.path['checkout'].join('util', 'bot') 148 bot_utils = api.path['checkout'].join('util', 'bot')
149 go_env = bot_utils.join('go', 'env.py') 149 go_env = bot_utils.join('go', 'env.py')
150 adb_path = bot_utils.join('android_tools', 'sdk', 'platform-tools', 'adb') 150 adb_path = bot_utils.join('android_tools', 'sdk', 'platform-tools', 'adb')
151 build_dir = api.path['checkout'].join('build') 151 build_dir = api.path['checkout'].join('build')
152 runner_dir = api.path['checkout'].join('ssl', 'test', 'runner') 152 runner_dir = api.path['checkout'].join('ssl', 'test', 'runner')
153 153
154 # CMake is stateful, so do a clean build. BoringSSL builds quickly enough that 154 # CMake is stateful, so do a clean build. BoringSSL builds quickly enough that
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 yield ( 285 yield (
286 api.test('gerrit_cl') + 286 api.test('gerrit_cl') +
287 api.platform('linux', 64) + 287 api.platform('linux', 64) +
288 api.properties.tryserver_gerrit( 288 api.properties.tryserver_gerrit(
289 gerrit_host='boringssl-review.googlesource.com', 289 gerrit_host='boringssl-review.googlesource.com',
290 full_project_name='boringssl', 290 full_project_name='boringssl',
291 mastername='actually-no-master', buildername='linux', 291 mastername='actually-no-master', buildername='linux',
292 slavename='swarming-slave') 292 slavename='swarming-slave')
293 ) 293 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698