Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: scripts/slave/recipes/android/appurify.py

Issue 1474473004: Pass mb_mastername and mb_buildername as parameters to override the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Pass mb_mastername and mb_buildername as parameters Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.types import freeze 5 from recipe_engine.types import freeze
6 from recipe_engine import recipe_api 6 from recipe_engine import recipe_api
7 7
8 DEPS = [ 8 DEPS = [
9 'archive', 9 'archive',
10 'amp', 10 'amp',
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 test_names.extend(suite['gyp_target'] for suite in instrumentation_tests) 152 test_names.extend(suite['gyp_target'] for suite in instrumentation_tests)
153 test_names.extend(java_unittests) 153 test_names.extend(java_unittests)
154 154
155 compile_targets = api.chromium.c.compile_py.default_targets 155 compile_targets = api.chromium.c.compile_py.default_targets
156 156
157 if builder.get('try', False): 157 if builder.get('try', False):
158 api.tryserver.maybe_apply_issue() 158 api.tryserver.maybe_apply_issue()
159 159
160 api.filter.does_patch_require_compile( 160 api.filter.does_patch_require_compile(
161 api.tryserver.get_files_affected_by_patch(), 161 api.tryserver.get_files_affected_by_patch(),
162 mastername,
163 buildername,
162 test_targets=test_names, 164 test_targets=test_names,
163 additional_compile_targets=compile_targets, 165 additional_compile_targets=compile_targets,
164 additional_names=['chromium'], 166 additional_names=['chromium'],
165 config_file_name='trybot_analyze_config.json') 167 config_file_name='trybot_analyze_config.json')
166 compile_targets = api.filter.compile_targets 168 compile_targets = api.filter.compile_targets
167 if not compile_targets: 169 if not compile_targets:
168 return 170 return
169 native_unittests = [ 171 native_unittests = [
170 i for i in native_unittests 172 i for i in native_unittests
171 if i[0] in api.filter.test_targets] 173 if i[0] in api.filter.test_targets]
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 api.properties.generic( 396 api.properties.generic(
395 mastername='tryserver.chromium.linux', 397 mastername='tryserver.chromium.linux',
396 buildername='android_amp_rel_tests_recipe', 398 buildername='android_amp_rel_tests_recipe',
397 slavename='slavename') + 399 slavename='slavename') +
398 api.override_step_data( 400 api.override_step_data(
399 'analyze', 401 'analyze',
400 api.json.output({ 402 api.json.output({
401 'status': 'Found dependency', 403 'status': 'Found dependency',
402 'test_targets': [], 404 'test_targets': [],
403 'compile_targets': ['base_unittests']}))) 405 'compile_targets': ['base_unittests']})))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698