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

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

Issue 1999603002: example flag CL (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 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
« no previous file with comments | « recipe_modules/gclient/api.py ('k') | recipe_modules/gclient/example.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 recipe_engine.config import config_item_context, ConfigGroup, BadConf 7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf
8 from recipe_engine.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
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 patch_projects = Dict(value_type=tuple, hidden=True), 79 patch_projects = Dict(value_type=tuple, hidden=True),
80 80
81 # Check out refs/branch-heads. 81 # Check out refs/branch-heads.
82 # TODO (machenbach): Only implemented for bot_update atm. 82 # TODO (machenbach): Only implemented for bot_update atm.
83 with_branch_heads = Single( 83 with_branch_heads = Single(
84 bool, 84 bool,
85 empty_val=False, 85 empty_val=False,
86 required=False, 86 required=False,
87 hidden=True), 87 hidden=True),
88 88
89 break_locks_flag = Single(
90 bool, empty_val=False, required=False, hidden=True),
91
89 GIT_MODE = Static(bool(GIT_MODE)), 92 GIT_MODE = Static(bool(GIT_MODE)),
90 USE_MIRROR = Static(bool(USE_MIRROR)), 93 USE_MIRROR = Static(bool(USE_MIRROR)),
91 # TODO(tandrii): remove PATCH_PROJECT field. 94 # TODO(tandrii): remove PATCH_PROJECT field.
92 # DON'T USE THIS. WILL BE REMOVED. 95 # DON'T USE THIS. WILL BE REMOVED.
93 PATCH_PROJECT = Static(str(PATCH_PROJECT), hidden=True), 96 PATCH_PROJECT = Static(str(PATCH_PROJECT), hidden=True),
94 BUILDSPEC_VERSION= Static(BUILDSPEC_VERSION, hidden=True), 97 BUILDSPEC_VERSION= Static(BUILDSPEC_VERSION, hidden=True),
95 ) 98 )
96 99
97 config_ctx = config_item_context(BaseConfig) 100 config_ctx = config_item_context(BaseConfig)
98 101
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 soln = c.solutions.add() 675 soln = c.solutions.add()
673 soln.name = 'gerrit-test-cq-normal' 676 soln.name = 'gerrit-test-cq-normal'
674 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 677 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
675 678
676 # TODO(phajdan.jr): Move to proper repo and add coverage. 679 # TODO(phajdan.jr): Move to proper repo and add coverage.
677 @config_ctx() 680 @config_ctx()
678 def valgrind(c): # pragma: no cover 681 def valgrind(c): # pragma: no cover
679 """Add Valgrind binaries to the gclient solution.""" 682 """Add Valgrind binaries to the gclient solution."""
680 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 683 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
681 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 684 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « recipe_modules/gclient/api.py ('k') | recipe_modules/gclient/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698