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', |
123 INTERNAL=False, | 124 INTERNAL=False, |
124 BUILD_CONFIG=bot_config['target'], | 125 BUILD_CONFIG=bot_config['target'], |
125 REPO_NAME='src', | 126 REPO_NAME='src', |
126 REPO_URL='svn://svn-mirror.golo.chromium.org/chrome/trunk/src') | 127 REPO_URL='svn://svn-mirror.golo.chromium.org/chrome/trunk/src') |
127 | 128 |
128 api.gclient.set_config('chromium') | 129 api.gclient.set_config('chromium') |
129 api.gclient.apply_config('android') | 130 api.gclient.apply_config('android') |
130 api.gclient.apply_config('chrome_internal') | 131 api.gclient.apply_config('chrome_internal') |
131 | 132 |
132 api.bot_update.ensure_checkout() | 133 api.bot_update.ensure_checkout() |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 yield ( | 284 yield ( |
284 api.test('no_compile_because_of_analyze') + | 285 api.test('no_compile_because_of_analyze') + |
285 api.properties.generic( | 286 api.properties.generic( |
286 mastername='tryserver.chromium.linux', | 287 mastername='tryserver.chromium.linux', |
287 buildername='android_dbg_tests_recipe', | 288 buildername='android_dbg_tests_recipe', |
288 slavename='slavename') + | 289 slavename='slavename') + |
289 api.override_step_data( | 290 api.override_step_data( |
290 'analyze', | 291 'analyze', |
291 api.json.output({'status': 'No compile necessary'})) | 292 api.json.output({'status': 'No compile necessary'})) |
292 ) | 293 ) |
OLD | NEW |