| 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 if api.properties['buildername'] == 'Win64 Debug (Clang)': |
| 28 step_result = api.step('Disabled: see http://crbug.com/595702', cmd=None) |
| 29 step_result.presentation.status = api.step.WARNING |
| 30 return |
| 31 |
| 27 if api.platform.is_mac: | 32 if api.platform.is_mac: |
| 28 api.ios.host_info() | 33 api.ios.host_info() |
| 29 webrtc.checkout() | 34 webrtc.checkout() |
| 30 webrtc.cleanup() | 35 webrtc.cleanup() |
| 31 api.chromium.runhooks() | 36 api.chromium.runhooks() |
| 32 webrtc.check_swarming_version() | 37 webrtc.check_swarming_version() |
| 33 | 38 |
| 34 if webrtc.should_build: | 39 if webrtc.should_build: |
| 35 if api.chromium.c.project_generator.tool == 'gn': | 40 if api.chromium.c.project_generator.tool == 'gn': |
| 36 api.chromium.run_gn(use_goma=True) | 41 api.chromium.run_gn(use_goma=True) |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 parent_got_revision='12345', suffix='_forced') | 130 parent_got_revision='12345', suffix='_forced') |
| 126 yield generate_builder(mastername, buildername, revision=None, | 131 yield generate_builder(mastername, buildername, revision=None, |
| 127 suffix='_forced_invalid') | 132 suffix='_forced_invalid') |
| 128 yield generate_builder(mastername, buildername, revision='12345', | 133 yield generate_builder(mastername, buildername, revision='12345', |
| 129 failing_test='tools_unittests', suffix='_failing_test') | 134 failing_test='tools_unittests', suffix='_failing_test') |
| 130 | 135 |
| 131 # Legacy trybot (SVN-based). | 136 # Legacy trybot (SVN-based). |
| 132 mastername = 'tryserver.webrtc' | 137 mastername = 'tryserver.webrtc' |
| 133 yield generate_builder(mastername, 'linux_dbg', revision='12345', | 138 yield generate_builder(mastername, 'linux_dbg', revision='12345', |
| 134 legacy_trybot=True, suffix='_legacy_svn_patch') | 139 legacy_trybot=True, suffix='_legacy_svn_patch') |
| OLD | NEW |