Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: scripts/slave/recipe_modules/gclient/config.py

Issue 59233015: Make gyp target_arch setting native to chromium/config.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Targit Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698