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

Side by Side Diff: build/android/buildbot/bb_run_bot.py

Issue 500423004: Refactor/cleanup WebRTC-specific Andorid glue code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import collections 7 import collections
8 import copy 8 import copy
9 import json 9 import json
10 import os 10 import os
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 B('perf-bisect-builder-tests-dbg', 178 B('perf-bisect-builder-tests-dbg',
179 H(['bisect_perf_regression']), 179 H(['bisect_perf_regression']),
180 T([], ['--chrome-output-dir', bisect_chrome_output_dir])), 180 T([], ['--chrome-output-dir', bisect_chrome_output_dir])),
181 B('perf-tests-rel', H(std_test_steps), 181 B('perf-tests-rel', H(std_test_steps),
182 T([], ['--install=ChromeShell', '--cleanup'])), 182 T([], ['--install=ChromeShell', '--cleanup'])),
183 B('webkit-latest-webkit-tests', H(std_test_steps), 183 B('webkit-latest-webkit-tests', H(std_test_steps),
184 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])), 184 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])),
185 B('webkit-latest-contentshell', H(compile_step), 185 B('webkit-latest-contentshell', H(compile_step),
186 T(['webkit_layout'], ['--auto-reconnect'])), 186 T(['webkit_layout'], ['--auto-reconnect'])),
187 B('builder-unit-tests', H(compile_step), T(['unit'])), 187 B('builder-unit-tests', H(compile_step), T(['unit'])),
188 B('webrtc-chromium-builder',
189 H(std_build_steps,
190 extra_args=['--build-targets=android_builder_chromium_webrtc'])),
191 B('webrtc-native-builder',
192 H(std_build_steps,
193 extra_args=['--build-targets=android_builder_webrtc'],
194 extra_gyp='include_tests=1 enable_tracing=1')),
195 B('webrtc-chromium-tests', H(std_test_steps),
196 T(['webrtc_chromium'],
197 [flakiness_server, '--gtest-filter=WebRtc*', '--cleanup'])),
198 B('webrtc-native-tests', H(std_test_steps),
199 T(['webrtc_native'], ['--cleanup', flakiness_server])),
200 188
201 # Generic builder config (for substring match). 189 # Generic builder config (for substring match).
202 B('builder', H(std_build_steps)), 190 B('builder', H(std_build_steps)),
203 ] 191 ]
204 192
205 bot_map = dict((config.bot_id, config) for config in bot_configs) 193 bot_map = dict((config.bot_id, config) for config in bot_configs)
206 194
207 # These bots have identical configuration to ones defined earlier. 195 # These bots have identical configuration to ones defined earlier.
208 copy_map = [ 196 copy_map = [
209 ('lkgr-clobber', 'main-clobber'), 197 ('lkgr-clobber', 'main-clobber'),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 for command in commands: 298 for command in commands:
311 print 'Will run: ', bb_utils.CommandToString(command) 299 print 'Will run: ', bb_utils.CommandToString(command)
312 print 300 print
313 301
314 env = GetEnvironment(bot_config.host_obj, options.testing) 302 env = GetEnvironment(bot_config.host_obj, options.testing)
315 return RunBotCommands(options, commands, env) 303 return RunBotCommands(options, commands, env)
316 304
317 305
318 if __name__ == '__main__': 306 if __name__ == '__main__':
319 sys.exit(main(sys.argv)) 307 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698