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 infra.libs.infra_types import freeze | 5 from infra.libs.infra_types import freeze |
6 | 6 |
7 DEPS = [ | 7 DEPS = [ |
8 'adb', | 8 'adb', |
9 'bot_update', | 9 'bot_update', |
10 'chromium', | 10 'chromium', |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 def _GenStepsInternal(api): | 113 def _GenStepsInternal(api): |
114 # Required for us to be able to use filter. | 114 # Required for us to be able to use filter. |
115 api.chromium_android.set_config('base_config') | 115 api.chromium_android.set_config('base_config') |
116 | 116 |
117 mastername = api.properties['mastername'] | 117 mastername = api.properties['mastername'] |
118 buildername = api.properties['buildername'] | 118 buildername = api.properties['buildername'] |
119 bot_config = BUILDERS[mastername][buildername] | 119 bot_config = BUILDERS[mastername][buildername] |
120 | 120 |
121 api.chromium_android.configure_from_properties( | 121 api.chromium_android.configure_from_properties( |
122 bot_config['config'], | 122 bot_config['config'], |
123 TARGET_PLATFORM='android', | |
124 INTERNAL=False, | 123 INTERNAL=False, |
125 BUILD_CONFIG=bot_config['target'], | 124 BUILD_CONFIG=bot_config['target'], |
126 REPO_NAME='src', | 125 REPO_NAME='src', |
127 REPO_URL='svn://svn-mirror.golo.chromium.org/chrome/trunk/src') | 126 REPO_URL='svn://svn-mirror.golo.chromium.org/chrome/trunk/src') |
128 | 127 |
129 api.gclient.set_config('chromium') | 128 api.gclient.set_config('chromium') |
130 api.gclient.apply_config('android') | 129 api.gclient.apply_config('android') |
131 api.gclient.apply_config('chrome_internal') | 130 api.gclient.apply_config('chrome_internal') |
132 | 131 |
133 api.bot_update.ensure_checkout() | 132 api.bot_update.ensure_checkout() |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 yield ( | 283 yield ( |
285 api.test('no_compile_because_of_analyze') + | 284 api.test('no_compile_because_of_analyze') + |
286 api.properties.generic( | 285 api.properties.generic( |
287 mastername='tryserver.chromium.linux', | 286 mastername='tryserver.chromium.linux', |
288 buildername='android_dbg_tests_recipe', | 287 buildername='android_dbg_tests_recipe', |
289 slavename='slavename') + | 288 slavename='slavename') + |
290 api.override_step_data( | 289 api.override_step_data( |
291 'analyze', | 290 'analyze', |
292 api.json.output({'status': 'No compile necessary'})) | 291 api.json.output({'status': 'No compile necessary'})) |
293 ) | 292 ) |
OLD | NEW |