| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 contextlib import contextmanager | 5 from contextlib import contextmanager |
| 6 from recipe_engine import recipe_api | 6 from recipe_engine import recipe_api |
| 7 from recipe_engine.types import freeze | 7 from recipe_engine.types import freeze |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'chromium', | 10 'chromium', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 'bucket': 'chrome-perf', | 68 'bucket': 'chrome-perf', |
| 69 'path': lambda api: ('android_perf_rel/full-build-linux_%s.zip' | 69 'path': lambda api: ('android_perf_rel/full-build-linux_%s.zip' |
| 70 % api.properties['revision']), | 70 % api.properties['revision']), |
| 71 }, | 71 }, |
| 72 'run_mb': True, | 72 'run_mb': True, |
| 73 'targets': [ | 73 'targets': [ |
| 74 'android_tools', | 74 'android_tools', |
| 75 'cc_perftests', | 75 'cc_perftests', |
| 76 'chrome_public_apk', | 76 'chrome_public_apk', |
| 77 'gpu_perftests', | 77 'gpu_perftests', |
| 78 'system_webview_apk', |
| 79 'system_webview_shell_apk', |
| 78 ], | 80 ], |
| 79 }, | 81 }, |
| 80 'Android arm64 Builder': { | 82 'Android arm64 Builder': { |
| 81 'recipe_config': 'arm64_builder_rel_mb', | 83 'recipe_config': 'arm64_builder_rel_mb', |
| 82 'gclient_apply_config': ['android', 'perf'], | 84 'gclient_apply_config': ['android', 'perf'], |
| 83 'kwargs': { | 85 'kwargs': { |
| 84 'BUILD_CONFIG': 'Release', | 86 'BUILD_CONFIG': 'Release', |
| 85 }, | 87 }, |
| 86 'upload': { | 88 'upload': { |
| 87 'bucket': 'chrome-perf', | 89 'bucket': 'chrome-perf', |
| 88 'path': lambda api: ( | 90 'path': lambda api: ( |
| 89 'android_perf_rel_arm64/full-build-linux_%s.zip' | 91 'android_perf_rel_arm64/full-build-linux_%s.zip' |
| 90 % api.properties['revision']), | 92 % api.properties['revision']), |
| 91 }, | 93 }, |
| 92 'run_mb': True, | 94 'run_mb': True, |
| 93 'targets': [ | 95 'targets': [ |
| 94 'android_tools', | 96 'android_tools', |
| 95 'cc_perftests', | 97 'cc_perftests', |
| 96 'chrome_public_apk', | 98 'chrome_public_apk', |
| 97 'gpu_perftests', | 99 'gpu_perftests', |
| 100 'system_webview_apk', |
| 101 'system_webview_shell_apk', |
| 98 ], | 102 ], |
| 99 } | 103 } |
| 100 }, | 104 }, |
| 101 'tryserver.chromium.perf': { | 105 'tryserver.chromium.perf': { |
| 102 'android_perf_bisect_builder': { | 106 'android_perf_bisect_builder': { |
| 103 'recipe_config': 'perf', | 107 'recipe_config': 'perf', |
| 104 'gclient_apply_config': ['android', 'perf'], | 108 'gclient_apply_config': ['android', 'perf'], |
| 105 'kwargs': { | 109 'kwargs': { |
| 106 'BUILD_CONFIG': 'Release', | 110 'BUILD_CONFIG': 'Release', |
| 107 }, | 111 }, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 '_'.join(_sanitize_nonalpha(step) for step in steps))) + | 245 '_'.join(_sanitize_nonalpha(step) for step in steps))) + |
| 242 props(mastername=mastername, buildername=buildername) + | 246 props(mastername=mastername, buildername=buildername) + |
| 243 reduce(lambda a, b: a + b, | 247 reduce(lambda a, b: a + b, |
| 244 (api.step_data(step, retcode=1) for step in steps)) | 248 (api.step_data(step, retcode=1) for step in steps)) |
| 245 ) | 249 ) |
| 246 | 250 |
| 247 yield step_failure(mastername='chromium.android', | 251 yield step_failure(mastername='chromium.android', |
| 248 buildername='Android x64 Builder (dbg)', | 252 buildername='Android x64 Builder (dbg)', |
| 249 steps=['check licenses']) | 253 steps=['check licenses']) |
| 250 | 254 |
| OLD | NEW |