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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.py

Issue 628523002: WebRTC: Prepare for enabling bot_update for standalone recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 2 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 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 # Recipe for building and running tests for WebRTC stand-alone. 5 # Recipe for building and running tests for WebRTC stand-alone.
6 6
7 DEPS = [ 7 DEPS = [
8 'archive', 8 'archive',
9 'bot_update',
9 'chromium', 10 'chromium',
10 'chromium_android', 11 'chromium_android',
11 'gclient', 12 'gclient',
12 'path', 13 'path',
13 'platform', 14 'platform',
14 'properties', 15 'properties',
15 'step', 16 'step',
16 'tryserver', 17 'tryserver',
17 'webrtc', 18 'webrtc',
18 ] 19 ]
(...skipping 23 matching lines...) Expand all
42 api.gclient.apply_config(c) 43 api.gclient.apply_config(c)
43 for c in bot_config.get('chromium_apply_config', []): 44 for c in bot_config.get('chromium_apply_config', []):
44 api.chromium.apply_config(c) 45 api.chromium.apply_config(c)
45 46
46 # Needed for the multiple webcam check steps to get unique names. 47 # Needed for the multiple webcam check steps to get unique names.
47 api.step.auto_resolve_conflicts = True 48 api.step.auto_resolve_conflicts = True
48 49
49 if api.tryserver.is_tryserver: 50 if api.tryserver.is_tryserver:
50 api.chromium.apply_config('trybot_flavor') 51 api.chromium.apply_config('trybot_flavor')
51 52
52 step_result = api.gclient.checkout() 53 step_result = api.bot_update.ensure_checkout()
54 bot_update_mode = step_result.json.output['did_run']
55 if not bot_update_mode:
56 step_result = api.gclient.checkout()
57
53 # Whatever step is run right before this line needs to emit got_revision. 58 # Whatever step is run right before this line needs to emit got_revision.
54 got_revision = step_result.presentation.properties['got_revision'] 59 got_revision = step_result.presentation.properties['got_revision']
55 60
56 api.tryserver.maybe_apply_issue() 61 api.tryserver.maybe_apply_issue()
57 api.chromium.runhooks() 62 api.chromium.runhooks()
58 63
59 if does_build: 64 if does_build:
60 if api.chromium.c.project_generator.tool == 'gn': 65 if api.chromium.c.project_generator.tool == 'gn':
61 api.chromium.run_gn(use_goma=True) 66 api.chromium.run_gn(use_goma=True)
62 api.chromium.compile(targets=['all']) 67 api.chromium.compile(targets=['all'])
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 parent_got_revision='12345', suffix='_forced') 163 parent_got_revision='12345', suffix='_forced')
159 yield generate_builder(mastername, buildername, revision=None, 164 yield generate_builder(mastername, buildername, revision=None,
160 suffix='_forced_invalid') 165 suffix='_forced_invalid')
161 yield generate_builder(mastername, buildername, revision='12345', 166 yield generate_builder(mastername, buildername, revision='12345',
162 failing_test='tools_unittests', suffix='_failing_test') 167 failing_test='tools_unittests', suffix='_failing_test')
163 168
164 # Legacy trybot (SVN-based). 169 # Legacy trybot (SVN-based).
165 mastername = 'tryserver.webrtc' 170 mastername = 'tryserver.webrtc'
166 yield generate_builder(mastername, 'linux', revision='12345', 171 yield generate_builder(mastername, 'linux', revision='12345',
167 legacy_trybot=True, suffix='_legacy_svn_patch') 172 legacy_trybot=True, suffix='_legacy_svn_patch')
OLDNEW
« no previous file with comments | « scripts/slave/bot_update.py ('k') | scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_arm64__dbg_.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698