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_tests', | 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 = {'force': True} |
23 checkout_dir = api.chromium_tests.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 ) |
33 buildername = api.properties['buildername'].replace(' ', '_') | 33 buildername = api.properties['buildername'].replace(' ', '_') |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 'os': '7.1', | 235 'os': '7.1', |
236 }, | 236 }, |
237 ], | 237 ], |
238 }) | 238 }) |
239 + api.step_data( | 239 + api.step_data( |
240 'fake tests 1 (fake device iOS 8.0)', | 240 'fake tests 1 (fake device iOS 8.0)', |
241 retcode=2, | 241 retcode=2, |
242 ) | 242 ) |
243 ) | 243 ) |
244 | 244 |
OLD | NEW |