Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import types | |
| 6 | |
| 7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf | |
| 8 from recipe_engine.config import Single | |
| 9 from recipe_engine.config_types import Path | |
| 10 | |
| 11 def BaseConfig(**_kwargs): | |
|
iannucci
2016/04/29 18:55:20
not convinced this is necessary (or desirable)
If
tandrii(chromium)
2016/04/29 19:04:43
+1. It's not desirable. path['checkout'] would be
martiniss
2016/04/29 19:26:48
Ok, i'll just keep this as is for now.
tandrii(chromium)
2016/05/02 14:14:48
OOps, I re-invented the wheel. Now I've re-read wh
| |
| 12 return ConfigGroup( | |
| 13 repo_location=Single(Path) | |
| 14 ) | |
| 15 | |
| 16 config_ctx = config_item_context(BaseConfig) | |
| 17 | |
| 18 @config_ctx() | |
| 19 def basic(c): | |
| 20 pass | |
| 21 | |
| 22 | |
| OLD | NEW |