| 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 slave.recipe_config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
| 8 from slave.recipe_config import ConfigList, Dict, List, Single, Static | 8 from recipe_engine.config import ConfigList, Dict, List, Single, Static |
| 9 from slave.recipe_config_types import Path | 9 from recipe_engine.config_types import Path |
| 10 | 10 |
| 11 def BaseConfig(INTERNAL=False, REPO_NAME=None, REPO_URL=None, | 11 def BaseConfig(INTERNAL=False, REPO_NAME=None, REPO_URL=None, |
| 12 BUILD_CONFIG='Debug', REVISION='', **_kwargs): | 12 BUILD_CONFIG='Debug', REVISION='', **_kwargs): |
| 13 return ConfigGroup( | 13 return ConfigGroup( |
| 14 INTERNAL = Static(INTERNAL), | 14 INTERNAL = Static(INTERNAL), |
| 15 REPO_NAME = Static(REPO_NAME), | 15 REPO_NAME = Static(REPO_NAME), |
| 16 REPO_URL = Static(REPO_URL), | 16 REPO_URL = Static(REPO_URL), |
| 17 BUILD_CONFIG = Static(BUILD_CONFIG), | 17 BUILD_CONFIG = Static(BUILD_CONFIG), |
| 18 revision = Single(basestring, empty_val=REVISION), | 18 revision = Single(basestring, empty_val=REVISION), |
| 19 revisions = Dict(value_type=(basestring, types.NoneType)), | 19 revisions = Dict(value_type=(basestring, types.NoneType)), |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 def perf(c): | 209 def perf(c): |
| 210 pass | 210 pass |
| 211 | 211 |
| 212 @config_ctx() | 212 @config_ctx() |
| 213 def webview_perf(c): | 213 def webview_perf(c): |
| 214 pass | 214 pass |
| 215 | 215 |
| 216 @config_ctx() | 216 @config_ctx() |
| 217 def cast_builder(c): | 217 def cast_builder(c): |
| 218 pass | 218 pass |
| OLD | NEW |