| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import recipe_api | 5 from recipe_engine import recipe_api |
| 6 from recipe_engine.recipe_api import Property | 6 from recipe_engine.recipe_api import Property |
| 7 from recipe_engine.types import freeze | 7 from recipe_engine.types import freeze |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 def RunSteps(api, mastername, buildername): | 56 def RunSteps(api, mastername, buildername): |
| 57 builder = BUILDERS[mastername][buildername] | 57 builder = BUILDERS[mastername][buildername] |
| 58 api.chromium_android.configure_from_properties( | 58 api.chromium_android.configure_from_properties( |
| 59 builder['config'], | 59 builder['config'], |
| 60 REPO_NAME='src', | 60 REPO_NAME='src', |
| 61 REPO_URL=REPO_URL, | 61 REPO_URL=REPO_URL, |
| 62 INTERNAL=False, | 62 INTERNAL=False, |
| 63 BUILD_CONFIG=builder['target']) | 63 BUILD_CONFIG=builder['target']) |
| 64 | 64 |
| 65 api.gclient.set_config('chromium') | 65 api.gclient.set_config('chromium', GIT_MODE=True) |
| 66 api.gclient.apply_config('android') | 66 api.gclient.apply_config('android') |
| 67 api.emulator.set_config('base_config') | 67 api.emulator.set_config('base_config') |
| 68 | 68 |
| 69 api.bot_update.ensure_checkout() | 69 api.bot_update.ensure_checkout() |
| 70 api.chromium_android.clean_local_files() | 70 api.chromium_android.clean_local_files() |
| 71 api.chromium.runhooks() | 71 api.chromium.runhooks() |
| 72 | 72 |
| 73 if api.chromium.c.project_generator.tool == 'mb': | 73 if api.chromium.c.project_generator.tool == 'mb': |
| 74 api.chromium.run_mb(mastername, buildername, use_goma=True) | 74 api.chromium.run_mb(mastername, buildername, use_goma=True) |
| 75 | 75 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 buildername=buildername, | 117 buildername=buildername, |
| 118 mastername=mastername)) | 118 mastername=mastername)) |
| 119 | 119 |
| 120 yield ( | 120 yield ( |
| 121 api.test('Android_Tests__x86_emulator__test_fail') + | 121 api.test('Android_Tests__x86_emulator__test_fail') + |
| 122 api.properties.generic( | 122 api.properties.generic( |
| 123 buildername='Android Tests (x86 emulator)', | 123 buildername='Android Tests (x86 emulator)', |
| 124 mastername='chromium.fyi') + | 124 mastername='chromium.fyi') + |
| 125 api.step_data('android_webview_unittests', retcode=2) | 125 api.step_data('android_webview_unittests', retcode=2) |
| 126 ) | 126 ) |
| OLD | NEW |