| 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 common import cros_chromite | 7 from common import cros_chromite |
| 8 from slave.recipe_config import config_item_context, ConfigGroup | 8 from slave.recipe_config import config_item_context, ConfigGroup |
| 9 from slave.recipe_config import Dict, Single, Set | 9 from slave.recipe_config import Dict, Single, Set |
| 10 | 10 |
| 11 from RECIPE_MODULES.path import api as path_api | 11 import DEPS |
| 12 path_api = DEPS['path'].api |
| 12 | 13 |
| 13 | 14 |
| 14 def BaseConfig(**_kwargs): | 15 def BaseConfig(**_kwargs): |
| 15 return ConfigGroup( | 16 return ConfigGroup( |
| 16 # Base mapping of repository key to repository name. | 17 # Base mapping of repository key to repository name. |
| 17 repositories = Dict(value_type=Set(basestring)), | 18 repositories = Dict(value_type=Set(basestring)), |
| 18 | 19 |
| 19 # Checkout Chromite at this branch. "origin/" will be prepended. | 20 # Checkout Chromite at this branch. "origin/" will be prepended. |
| 20 chromite_branch = Single(basestring), | 21 chromite_branch = Single(basestring), |
| 21 | 22 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 @config_ctx() | 86 @config_ctx() |
| 86 def chromeos_tryserver_etc(c): | 87 def chromeos_tryserver_etc(c): |
| 87 c.cbb.clobber = True | 88 c.cbb.clobber = True |
| 88 | 89 |
| 89 @config_ctx() | 90 @config_ctx() |
| 90 def chromiumos_coverage_test(c): | 91 def chromiumos_coverage_test(c): |
| 91 c.use_chrome_version = True | 92 c.use_chrome_version = True |
| 92 c.read_cros_manifest = True | 93 c.read_cros_manifest = True |
| 93 c.cbb.chrome_rev = 'stable' | 94 c.cbb.chrome_rev = 'stable' |
| 94 c.cbb.clobber = True | 95 c.cbb.clobber = True |
| OLD | NEW |