| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 DEPS = [ | 5 DEPS = [ |
| 6 'chromium_checkout', | 6 'chromium_checkout', |
| 7 'depot_tools/bot_update', | 7 'depot_tools/bot_update', |
| 8 'depot_tools/gclient', | 8 'depot_tools/gclient', |
| 9 'ios', | 9 'ios', |
| 10 'recipe_engine/path', | 10 'recipe_engine/path', |
| 11 'recipe_engine/platform', | 11 'recipe_engine/platform', |
| 12 'recipe_engine/properties', | 12 'recipe_engine/properties', |
| 13 'webrtc' | 13 'webrtc' |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 | 16 |
| 17 def RunSteps(api): | 17 def RunSteps(api): |
| 18 api.gclient.set_config('webrtc_ios') | 18 api.gclient.set_config('webrtc_ios') |
| 19 | 19 |
| 20 api.ios.host_info() | 20 api.ios.host_info() |
| 21 | 21 |
| 22 checkout_kwargs = {'force': True} | 22 checkout_kwargs = {} |
| 23 checkout_dir = api.chromium_checkout.get_checkout_dir({}) | 23 checkout_dir = api.chromium_checkout.get_checkout_dir({}) |
| 24 if checkout_dir: | 24 if checkout_dir: |
| 25 checkout_kwargs['cwd'] = checkout_dir | 25 checkout_kwargs['cwd'] = checkout_dir |
| 26 api.bot_update.ensure_checkout(**checkout_kwargs) | 26 api.bot_update.ensure_checkout(**checkout_kwargs) |
| 27 | 27 |
| 28 build_config_base_dir = api.path['checkout'].join( | 28 build_config_base_dir = api.path['checkout'].join( |
| 29 'webrtc', | 29 'webrtc', |
| 30 'build', | 30 'build', |
| 31 'ios', | 31 'ios', |
| 32 ) | 32 ) |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 'os': '7.1', | 228 'os': '7.1', |
| 229 }, | 229 }, |
| 230 ], | 230 ], |
| 231 }) | 231 }) |
| 232 + api.step_data( | 232 + api.step_data( |
| 233 'fake tests 1 (fake device iOS 8.0)', | 233 'fake tests 1 (fake device iOS 8.0)', |
| 234 retcode=2, | 234 retcode=2, |
| 235 ) | 235 ) |
| 236 ) | 236 ) |
| 237 | 237 |
| OLD | NEW |