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