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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Copyright notices Created 5 years, 7 months 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 recipe_engine.recipe_config import config_item_context, ConfigGroup, BadCon f
8 from slave.recipe_config import ConfigList, Dict, Single, Static, Set, List 8 from recipe_engine.recipe_config import ConfigList, Dict, Single, Static, Set, L ist
9 9
10 from . import api as gclient_api 10 from . import api as gclient_api
11 11
12 12
13 def BaseConfig(USE_MIRROR=True, GIT_MODE=False, CACHE_DIR=None, 13 def BaseConfig(USE_MIRROR=True, GIT_MODE=False, CACHE_DIR=None,
14 PATCH_PROJECT=None, BUILDSPEC_VERSION=None, 14 PATCH_PROJECT=None, BUILDSPEC_VERSION=None,
15 **_kwargs): 15 **_kwargs):
16 deps = '.DEPS.git' if GIT_MODE else 'DEPS' 16 deps = '.DEPS.git' if GIT_MODE else 'DEPS'
17 cache_dir = str(CACHE_DIR) if GIT_MODE and CACHE_DIR else None 17 cache_dir = str(CACHE_DIR) if GIT_MODE and CACHE_DIR else None
18 return ConfigGroup( 18 return ConfigGroup(
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 'buildspec/build/') 498 'buildspec/build/')
499 soln.custom_vars['svn_url'] = 'svn://svn-mirror.golo.chromium.org' 499 soln.custom_vars['svn_url'] = 'svn://svn-mirror.golo.chromium.org'
500 soln.custom_deps = {} 500 soln.custom_deps = {}
501 501
502 @config_ctx() 502 @config_ctx()
503 def catapult(c): 503 def catapult(c):
504 soln = c.solutions.add() 504 soln = c.solutions.add()
505 soln.name = 'catapult' 505 soln.name = 'catapult'
506 soln.url = ('https://chromium.googlesource.com/external/github.com/' 506 soln.url = ('https://chromium.googlesource.com/external/github.com/'
507 'catapult-project/catapult.git') 507 'catapult-project/catapult.git')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698