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

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: rebase again 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698