| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'auto_bisect', | 8 'auto_bisect', |
| 9 'bisect_tester', | 9 'bisect_tester', |
| 10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 'REPO_NAME': 'src', | 93 'REPO_NAME': 'src', |
| 94 'REPO_URL': REPO_URL, | 94 'REPO_URL': REPO_URL, |
| 95 'INTERNAL': False, | 95 'INTERNAL': False, |
| 96 'BUILD_CONFIG': 'Release', | 96 'BUILD_CONFIG': 'Release', |
| 97 'TARGET_PLATFORM': 'android', | 97 'TARGET_PLATFORM': 'android', |
| 98 } | 98 } |
| 99 kwargs.update(bot_config.get('kwargs', {})) | 99 kwargs.update(bot_config.get('kwargs', {})) |
| 100 api.chromium_android.configure_from_properties(recipe_config, **kwargs) | 100 api.chromium_android.configure_from_properties(recipe_config, **kwargs) |
| 101 api.chromium.set_config(recipe_config, **kwargs) | 101 api.chromium.set_config(recipe_config, **kwargs) |
| 102 api.chromium_android.c.set_val({'deps_file': 'DEPS'}) | 102 api.chromium_android.c.set_val({'deps_file': 'DEPS'}) |
| 103 api.gclient.set_config('chromium') | 103 api.gclient.set_config('chromium', GIT_MODE=True) |
| 104 for c in bot_config.get('gclient_apply_config', []): | 104 for c in bot_config.get('gclient_apply_config', []): |
| 105 api.gclient.apply_config(c) | 105 api.gclient.apply_config(c) |
| 106 update_step = api.auto_bisect.ensure_checkout() | 106 update_step = api.auto_bisect.ensure_checkout() |
| 107 api.path.c.dynamic_paths['catapult'] = api.m.auto_bisect.working_dir.join( | 107 api.path.c.dynamic_paths['catapult'] = api.m.auto_bisect.working_dir.join( |
| 108 'catapult') | 108 'catapult') |
| 109 api.chromium_android.clean_local_files() | 109 api.chromium_android.clean_local_files() |
| 110 | 110 |
| 111 bot_db = api.chromium_tests.create_bot_db_from_master_dict(mastername, | 111 bot_db = api.chromium_tests.create_bot_db_from_master_dict(mastername, |
| 112 master_dict) | 112 master_dict) |
| 113 | 113 |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 # multiple_device_status | 692 # multiple_device_status |
| 693 api.step_data('Debug Info', retcode=1) + | 693 api.step_data('Debug Info', retcode=1) + |
| 694 api.override_step_data('device_status (3)', | 694 api.override_step_data('device_status (3)', |
| 695 api.json.output(working_device)) + | 695 api.json.output(working_device)) + |
| 696 api.step_data('Expanding revision range.for revisions %s:%s (2)' % ( | 696 api.step_data('Expanding revision range.for revisions %s:%s (2)' % ( |
| 697 good_revision_hash, bad_revision_hash), | 697 good_revision_hash, bad_revision_hash), |
| 698 stdout=api.json.output([[bad_revision_hash, 'ignored'], [ | 698 stdout=api.json.output([[bad_revision_hash, 'ignored'], [ |
| 699 good_revision_hash, 'ignored']])) + | 699 good_revision_hash, 'ignored']])) + |
| 700 api.step_data('Post bisect results', | 700 api.step_data('Post bisect results', |
| 701 stdout=api.json.output({'status_code': 200}))) | 701 stdout=api.json.output({'status_code': 200}))) |
| OLD | NEW |