| 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', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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.platform.is_mac: | 27 if api.platform.is_mac: |
| 28 api.ios.host_info() | 28 api.ios.host_info() |
| 29 webrtc.checkout() | 29 webrtc.checkout() |
| 30 webrtc.cleanup() | 30 webrtc.cleanup() |
| 31 api.chromium.ensure_goma() |
| 31 api.chromium.runhooks() | 32 api.chromium.runhooks() |
| 32 webrtc.check_swarming_version() | 33 webrtc.check_swarming_version() |
| 33 | 34 |
| 34 if webrtc.should_build: | 35 if webrtc.should_build: |
| 35 if api.chromium.c.project_generator.tool == 'gn': | 36 if api.chromium.c.project_generator.tool == 'gn': |
| 36 api.chromium.run_gn(use_goma=True) | 37 api.chromium.run_gn(use_goma=True) |
| 37 webrtc.compile() | 38 webrtc.compile() |
| 38 | 39 |
| 39 if api.chromium.c.gyp_env.GYP_DEFINES.get('syzyasan', 0) == 1: | 40 if api.chromium.c.gyp_env.GYP_DEFINES.get('syzyasan', 0) == 1: |
| 40 api.chromium.apply_syzyasan() | 41 api.chromium.apply_syzyasan() |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 parent_got_revision='12345', suffix='_forced') | 126 parent_got_revision='12345', suffix='_forced') |
| 126 yield generate_builder(mastername, buildername, revision=None, | 127 yield generate_builder(mastername, buildername, revision=None, |
| 127 suffix='_forced_invalid') | 128 suffix='_forced_invalid') |
| 128 yield generate_builder(mastername, buildername, revision='12345', | 129 yield generate_builder(mastername, buildername, revision='12345', |
| 129 failing_test='tools_unittests', suffix='_failing_test') | 130 failing_test='tools_unittests', suffix='_failing_test') |
| 130 | 131 |
| 131 # Legacy trybot (SVN-based). | 132 # Legacy trybot (SVN-based). |
| 132 mastername = 'tryserver.webrtc' | 133 mastername = 'tryserver.webrtc' |
| 133 yield generate_builder(mastername, 'linux_dbg', revision='12345', | 134 yield generate_builder(mastername, 'linux_dbg', revision='12345', |
| 134 legacy_trybot=True, suffix='_legacy_svn_patch') | 135 legacy_trybot=True, suffix='_legacy_svn_patch') |
| OLD | NEW |