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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 243 |
244 | 244 @config_ctx(includes=['chromium']) |
245 def libvpx(c): | |
246 # TODO(iannucci): Youch! This path is a bit crazy. | |
navabi
2013/11/08 19:01:15
What is this about?
Can you also mention what th
iannucci
2013/11/08 19:49:57
This is an accident. I didn't mean to include it i
| |
247 path = 'src/third_party/libvpx/source2/libvpx' | |
248 url = 'https://chromium.googlesource.com/webm/libvpx.git' | |
249 c.solutions[0].custom_deps[path] = url | |
OLD | NEW |