| 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 'archive', | 6 'archive', |
| 7 'chromium_tests', | 7 'chromium_checkout', |
| 8 'commit_position', | 8 'commit_position', |
| 9 'depot_tools/bot_update', | 9 'depot_tools/bot_update', |
| 10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
| 11 'depot_tools/tryserver', | 11 'depot_tools/tryserver', |
| 12 'file', | 12 'file', |
| 13 'gsutil', | 13 'gsutil', |
| 14 'ios', | 14 'ios', |
| 15 'recipe_engine/path', | 15 'recipe_engine/path', |
| 16 'recipe_engine/properties', | 16 'recipe_engine/properties', |
| 17 'recipe_engine/step', | 17 'recipe_engine/step', |
| 18 'webrtc', | 18 'webrtc', |
| 19 'zip', | 19 'zip', |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 | 22 |
| 23 def RunSteps(api): | 23 def RunSteps(api): |
| 24 api.gclient.set_config('webrtc_ios') | 24 api.gclient.set_config('webrtc_ios') |
| 25 | 25 |
| 26 api.ios.host_info() | 26 api.ios.host_info() |
| 27 | 27 |
| 28 checkout_kwargs = {} | 28 checkout_kwargs = {} |
| 29 checkout_dir = api.chromium_tests.get_checkout_dir({}) | 29 checkout_dir = api.chromium_checkout.get_checkout_dir({}) |
| 30 if checkout_dir: | 30 if checkout_dir: |
| 31 checkout_kwargs['cwd'] = checkout_dir | 31 checkout_kwargs['cwd'] = checkout_dir |
| 32 update_step = api.bot_update.ensure_checkout(**checkout_kwargs) | 32 update_step = api.bot_update.ensure_checkout(**checkout_kwargs) |
| 33 | 33 |
| 34 revs = update_step.presentation.properties | 34 revs = update_step.presentation.properties |
| 35 commit_pos = api.commit_position.parse_revision(revs['got_revision_cp']) | 35 commit_pos = api.commit_position.parse_revision(revs['got_revision_cp']) |
| 36 api.gclient.runhooks() | 36 api.gclient.runhooks() |
| 37 | 37 |
| 38 build_script = api.path['checkout'].join('webrtc', 'build', 'ios', | 38 build_script = api.path['checkout'].join('webrtc', 'build', 'ios', |
| 39 'build_ios_libs.sh') | 39 'build_ios_libs.sh') |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 path_config='kitchen') + | 74 path_config='kitchen') + |
| 75 api.step_data('build', retcode=1) | 75 api.step_data('build', retcode=1) |
| 76 ) | 76 ) |
| 77 | 77 |
| 78 yield ( | 78 yield ( |
| 79 api.test('trybot_build') + | 79 api.test('trybot_build') + |
| 80 api.properties.tryserver(mastername='tryserver.webrtc', | 80 api.properties.tryserver(mastername='tryserver.webrtc', |
| 81 buildername='ios_api_framework', | 81 buildername='ios_api_framework', |
| 82 path_config='kitchen') | 82 path_config='kitchen') |
| 83 ) | 83 ) |
| OLD | NEW |