| OLD | NEW |
| 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 'depot_tools/bot_update', | 9 'depot_tools/bot_update', |
| 10 'chromium', | 10 'chromium', |
| 11 'chromium_android', | 11 'chromium_android', |
| 12 'depot_tools/gclient', | 12 'depot_tools/gclient', |
| 13 'ios', | 13 'ios', |
| 14 'recipe_engine/path', | 14 'recipe_engine/path', |
| 15 'recipe_engine/platform', | 15 'recipe_engine/platform', |
| 16 'recipe_engine/properties', | 16 'recipe_engine/properties', |
| 17 'recipe_engine/step', | 17 'recipe_engine/step', |
| 18 'depot_tools/tryserver', | 18 'depot_tools/tryserver', |
| 19 'webrtc', | 19 'webrtc', |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 | 22 |
| 23 def RunSteps(api): | 23 def RunSteps(api): |
| 24 webrtc = api.webrtc | 24 webrtc = api.webrtc |
| 25 webrtc.apply_bot_config(webrtc.BUILDERS, webrtc.RECIPE_CONFIGS) | 25 webrtc.apply_bot_config(webrtc.BUILDERS, webrtc.RECIPE_CONFIGS) |
| 26 | 26 |
| 27 # TODO(kjellander): Remove when crbug.com/636080 is fixed. | |
| 28 if api.properties['buildername'] in ('Linux32 Debug', 'Linux32 Release'): | |
| 29 step_result = api.step('Disabled: see http://crbug.com/636080 ', cmd=None) | |
| 30 step_result.presentation.status = api.step.WARNING | |
| 31 return | |
| 32 | |
| 33 if api.platform.is_mac: | 27 if api.platform.is_mac: |
| 34 api.ios.host_info() | 28 api.ios.host_info() |
| 35 webrtc.checkout() | 29 webrtc.checkout() |
| 36 webrtc.cleanup() | 30 webrtc.cleanup() |
| 37 api.chromium.ensure_goma() | 31 api.chromium.ensure_goma() |
| 38 api.chromium.runhooks() | 32 api.chromium.runhooks() |
| 39 webrtc.check_swarming_version() | 33 webrtc.check_swarming_version() |
| 40 | 34 |
| 41 if webrtc.should_build: | 35 if webrtc.should_build: |
| 42 webrtc.compile() | 36 webrtc.compile() |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 yield generate_builder(mastername, 'Android32 Builder', revision=None, | 117 yield generate_builder(mastername, 'Android32 Builder', revision=None, |
| 124 suffix='_forced') | 118 suffix='_forced') |
| 125 | 119 |
| 126 buildername = 'Android32 Tests (L Nexus5)' | 120 buildername = 'Android32 Tests (L Nexus5)' |
| 127 yield generate_builder(mastername, buildername, revision=None, | 121 yield generate_builder(mastername, buildername, revision=None, |
| 128 parent_got_revision='12345', suffix='_forced') | 122 parent_got_revision='12345', suffix='_forced') |
| 129 yield generate_builder(mastername, buildername, revision=None, | 123 yield generate_builder(mastername, buildername, revision=None, |
| 130 suffix='_forced_invalid') | 124 suffix='_forced_invalid') |
| 131 yield generate_builder(mastername, buildername, revision='12345', | 125 yield generate_builder(mastername, buildername, revision='12345', |
| 132 failing_test='tools_unittests', suffix='_failing_test') | 126 failing_test='tools_unittests', suffix='_failing_test') |
| OLD | NEW |