Chromium Code Reviews| Index: recipe_modules/path/config.py |
| diff --git a/recipe_modules/path/config.py b/recipe_modules/path/config.py |
| index 98580f47ca011c362c74465f1af26741c33f5968..851f4f5f76913f776b2c5482e000abfc0fd499bd 100644 |
| --- a/recipe_modules/path/config.py |
| +++ b/recipe_modules/path/config.py |
| @@ -2,7 +2,8 @@ |
| # Use of this source code is governed under the Apache License, Version 2.0 |
| # that can be found in the LICENSE file. |
| -from recipe_engine.config import config_item_context, ConfigGroup, Dict, Static |
| +from recipe_engine.config import config_item_context, ConfigGroup, Dict, \ |
| + Static, List |
| from recipe_engine.config_types import Path |
| def BaseConfig(PLATFORM, START_DIR, TEMP_DIR, CACHE_DIR, **_kwargs): |
| @@ -16,6 +17,10 @@ def BaseConfig(PLATFORM, START_DIR, TEMP_DIR, CACHE_DIR, **_kwargs): |
| # dynamic path name -> Path object (referencing one of the base_paths) |
| dynamic_paths = Dict(value_type=(Path, type(None))), |
| + # Path keys from "base_paths" and "dynamic_paths" that are known to be |
| + # volatile. |
| + volatile_paths = List(str), |
|
nodir
2017/04/10 16:59:21
i think it should be a Set
because order does not
dnj
2017/04/10 17:05:20
Done.
iannucci
2017/04/10 17:05:32
+1
|
| + |
| PLATFORM = Static(PLATFORM), |
| START_DIR = Static(tuple(START_DIR)), |
| TEMP_DIR = Static(tuple(TEMP_DIR)), |