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

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: Moved field_composer_test with its buddies Created 5 years, 6 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.config import config_item_context, ConfigGroup, BadConf
8 from slave.recipe_config import ConfigList, Dict, Single, Static, Set, List 8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List
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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 'buildspec/build/') 501 'buildspec/build/')
502 soln.custom_vars['svn_url'] = 'svn://svn-mirror.golo.chromium.org' 502 soln.custom_vars['svn_url'] = 'svn://svn-mirror.golo.chromium.org'
503 soln.custom_deps = {} 503 soln.custom_deps = {}
504 504
505 @config_ctx() 505 @config_ctx()
506 def catapult(c): 506 def catapult(c):
507 soln = c.solutions.add() 507 soln = c.solutions.add()
508 soln.name = 'catapult' 508 soln.name = 'catapult'
509 soln.url = ('https://chromium.googlesource.com/external/github.com/' 509 soln.url = ('https://chromium.googlesource.com/external/github.com/'
510 'catapult-project/catapult.git') 510 'catapult-project/catapult.git')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/gclient/api.py ('k') | scripts/slave/recipe_modules/gclient/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698