| OLD | NEW |
| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 B('builder-unit-tests', H(compile_step), T(['unit'])), | 171 B('builder-unit-tests', H(compile_step), T(['unit'])), |
| 172 B('webrtc-chromium-builder', | 172 B('webrtc-chromium-builder', |
| 173 H(std_build_steps, | 173 H(std_build_steps, |
| 174 extra_args=['--build-targets=android_builder_chromium_webrtc'])), | 174 extra_args=['--build-targets=android_builder_chromium_webrtc'])), |
| 175 B('webrtc-native-builder', | 175 B('webrtc-native-builder', |
| 176 H(std_build_steps, | 176 H(std_build_steps, |
| 177 extra_args=['--build-targets=android_builder_webrtc'], | 177 extra_args=['--build-targets=android_builder_webrtc'], |
| 178 extra_gyp='include_tests=1 enable_tracing=1')), | 178 extra_gyp='include_tests=1 enable_tracing=1')), |
| 179 B('webrtc-chromium-tests', H(std_test_steps), | 179 B('webrtc-chromium-tests', H(std_test_steps), |
| 180 T(['webrtc_chromium'], [flakiness_server])), | 180 T(['webrtc_chromium'], [flakiness_server])), |
| 181 B('webrtc-native-tests', | 181 B('webrtc-native-tests', H(std_test_steps), |
| 182 H(['download_webrtc_resources'] + std_test_steps), | |
| 183 T(['webrtc_native'], [flakiness_server])), | 182 T(['webrtc_native'], [flakiness_server])), |
| 184 | 183 |
| 185 # Generic builder config (for substring match). | 184 # Generic builder config (for substring match). |
| 186 B('builder', H(std_build_steps)), | 185 B('builder', H(std_build_steps)), |
| 187 ] | 186 ] |
| 188 | 187 |
| 189 bot_map = dict((config.bot_id, config) for config in bot_configs) | 188 bot_map = dict((config.bot_id, config) for config in bot_configs) |
| 190 | 189 |
| 191 # These bots have identical configuration to ones defined earlier. | 190 # These bots have identical configuration to ones defined earlier. |
| 192 copy_map = [ | 191 copy_map = [ |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 for command in commands: | 281 for command in commands: |
| 283 print 'Will run: ', bb_utils.CommandToString(command) | 282 print 'Will run: ', bb_utils.CommandToString(command) |
| 284 print | 283 print |
| 285 | 284 |
| 286 env = GetEnvironment(bot_config.host_obj, options.testing) | 285 env = GetEnvironment(bot_config.host_obj, options.testing) |
| 287 return RunBotCommands(options, commands, env) | 286 return RunBotCommands(options, commands, env) |
| 288 | 287 |
| 289 | 288 |
| 290 if __name__ == '__main__': | 289 if __name__ == '__main__': |
| 291 sys.exit(main(sys.argv)) | 290 sys.exit(main(sys.argv)) |
| OLD | NEW |