OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import types | 5 import types |
6 | 6 |
7 from recipe_engine.config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
8 from recipe_engine.config import ConfigList, Dict, List, Single, Static | 8 from recipe_engine.config import ConfigList, Dict, List, Single, Static |
9 from recipe_engine.config_types import Path | 9 from recipe_engine.config_types import Path |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 channel = Single(basestring, empty_val='chrome'), | 33 channel = Single(basestring, empty_val='chrome'), |
34 gclient_custom_vars = Dict(value_type=(basestring, types.NoneType)), | 34 gclient_custom_vars = Dict(value_type=(basestring, types.NoneType)), |
35 coverage = Single(bool, required=False, empty_val=False), | 35 coverage = Single(bool, required=False, empty_val=False), |
36 chrome_specific_wipe = Single(bool, required=False, empty_val=False), | 36 chrome_specific_wipe = Single(bool, required=False, empty_val=False), |
37 incremental_coverage = Single(bool, required=False, empty_val=False), | 37 incremental_coverage = Single(bool, required=False, empty_val=False), |
38 env = ConfigGroup( | 38 env = ConfigGroup( |
39 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), | 39 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), |
40 ), | 40 ), |
41 gce_setup = Single(bool, required=False, empty_val=False), | 41 gce_setup = Single(bool, required=False, empty_val=False), |
42 gce_snapshot = Single(basestring, required=False), | 42 gce_snapshot = Single(basestring, required=False), |
| 43 gce_count = Single(int, required=False), |
43 ) | 44 ) |
44 | 45 |
45 | 46 |
46 config_ctx = config_item_context(BaseConfig) | 47 config_ctx = config_item_context(BaseConfig) |
47 | 48 |
48 @config_ctx(is_root=True) | 49 @config_ctx(is_root=True) |
49 def base_config(c): | 50 def base_config(c): |
50 c.internal_dir_name = 'clank' | 51 c.internal_dir_name = 'clank' |
51 c.test_runner = Path('[CHECKOUT]', 'build', 'android', 'test_runner.py') | 52 c.test_runner = Path('[CHECKOUT]', 'build', 'android', 'test_runner.py') |
52 | 53 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 pass | 200 pass |
200 | 201 |
201 @config_ctx() | 202 @config_ctx() |
202 def cast_builder(c): | 203 def cast_builder(c): |
203 pass | 204 pass |
204 | 205 |
205 @config_ctx(includes=['x86_builder']) | 206 @config_ctx(includes=['x86_builder']) |
206 def gce_builder(c): | 207 def gce_builder(c): |
207 c.gce_setup = True | 208 c.gce_setup = True |
208 c.gce_snapshot = 'clean-19-l-phone-snapshot' | 209 c.gce_snapshot = 'clean-19-l-phone-snapshot' |
| 210 c.gce_count = 10 |
OLD | NEW |