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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 s.url = ChromiumSvnSubURL(c, 'native_client', 'trunk', 'deps', | 252 s.url = ChromiumSvnSubURL(c, 'native_client', 'trunk', 'deps', |
253 'supplement.DEPS') | 253 'supplement.DEPS') |
254 | 254 |
255 @config_ctx(config_vars={'GIT_MODE': True}) | 255 @config_ctx(config_vars={'GIT_MODE': True}) |
256 def tools_build(c): | 256 def tools_build(c): |
257 if not c.GIT_MODE: | 257 if not c.GIT_MODE: |
258 raise BadConf('tools_build only supports git') | 258 raise BadConf('tools_build only supports git') |
259 s = c.solutions.add() | 259 s = c.solutions.add() |
260 s.name = 'build' | 260 s.name = 'build' |
261 s.url = ChromiumGitURL(c, 'chromium', 'tools', 'build.git') | 261 s.url = ChromiumGitURL(c, 'chromium', 'tools', 'build.git') |
262 | |
263 | |
OLD | NEW |