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

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

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments 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 common import cros_chromite 7 from common import cros_chromite
8 from slave.recipe_config import config_item_context, ConfigGroup 8 from slave.recipe_config import config_item_context, ConfigGroup
9 from slave.recipe_config import Dict, Single, Set 9 from slave.recipe_config import Dict, Single, Set
10 10
11 from RECIPE_MODULES.path import api as path_api 11 import DEPS
12 path_api = DEPS['path'].api
12 13
13 14
14 def BaseConfig(**_kwargs): 15 def BaseConfig(**_kwargs):
15 return ConfigGroup( 16 return ConfigGroup(
16 # Base mapping of repository key to repository name. 17 # Base mapping of repository key to repository name.
17 repositories = Dict(value_type=Set(basestring)), 18 repositories = Dict(value_type=Set(basestring)),
18 19
19 # Checkout Chromite at this branch. "origin/" will be prepended. 20 # Checkout Chromite at this branch. "origin/" will be prepended.
20 chromite_branch = Single(basestring), 21 chromite_branch = Single(basestring),
21 22
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 @config_ctx() 86 @config_ctx()
86 def chromeos_tryserver_etc(c): 87 def chromeos_tryserver_etc(c):
87 c.cbb.clobber = True 88 c.cbb.clobber = True
88 89
89 @config_ctx() 90 @config_ctx()
90 def chromiumos_coverage_test(c): 91 def chromiumos_coverage_test(c):
91 c.use_chrome_version = True 92 c.use_chrome_version = True
92 c.read_cros_manifest = True 93 c.read_cros_manifest = True
93 c.cbb.chrome_rev = 'stable' 94 c.cbb.chrome_rev = 'stable'
94 c.cbb.clobber = True 95 c.cbb.clobber = True
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/bot_update/api.py ('k') | scripts/slave/recipe_modules/chromium_android/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698