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, BadConf | 7 from slave.recipe_config import config_item_context, ConfigGroup, BadConf |
8 from slave.recipe_config import ConfigList, Dict, Single, Static, Set, List | 8 from slave.recipe_config import ConfigList, Dict, Single, Static, Set, List |
9 | 9 |
10 def BaseConfig(USE_MIRROR=True, GIT_MODE=False, CACHE_DIR=None, **_kwargs): | 10 def BaseConfig(USE_MIRROR=True, GIT_MODE=False, CACHE_DIR=None, **_kwargs): |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 s.url = ChromiumSvnSubURL(c, 'native_client', 'trunk', 'deps', | 233 s.url = ChromiumSvnSubURL(c, 'native_client', 'trunk', 'deps', |
234 'supplement.DEPS') | 234 'supplement.DEPS') |
235 | 235 |
236 @config_ctx(config_vars={'GIT_MODE': True}) | 236 @config_ctx(config_vars={'GIT_MODE': True}) |
237 def tools_build(c): | 237 def tools_build(c): |
238 if not c.GIT_MODE: | 238 if not c.GIT_MODE: |
239 raise BadConf('tools_build only supports git') | 239 raise BadConf('tools_build only supports git') |
240 s = c.solutions.add() | 240 s = c.solutions.add() |
241 s.name = 'build' | 241 s.name = 'build' |
242 s.url = ChromiumGitURL(c, 'chromium', 'tools', 'build.git') | 242 s.url = ChromiumGitURL(c, 'chromium', 'tools', 'build.git') |
243 | |
244 | |
OLD | NEW |