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

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

Issue 1705473003: depot_tools: add master_deps in gclient/config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: update example.py Created 4 years, 10 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 | « no previous file | 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 s.url = ('https://chrome-internal.googlesource.com/' 414 s.url = ('https://chrome-internal.googlesource.com/'
415 'chrome/tools/build_limited/scripts/slave.git') 415 'chrome/tools/build_limited/scripts/slave.git')
416 c.got_revision_mapping['build_internal/scripts/slave'] = 'got_revision' 416 c.got_revision_mapping['build_internal/scripts/slave'] = 'got_revision'
417 # We do not use 'includes' here, because we want build_internal to be the 417 # We do not use 'includes' here, because we want build_internal to be the
418 # first solution in the list as run_presubmit computes upstream revision 418 # first solution in the list as run_presubmit computes upstream revision
419 # from the first solution. 419 # from the first solution.
420 build(c) 420 build(c)
421 c.got_revision_mapping['build'] = 'got_build_revision' 421 c.got_revision_mapping['build'] = 'got_build_revision'
422 422
423 @config_ctx() 423 @config_ctx()
424 def master_deps(c):
425 s = c.solutions.add()
426 s.name = 'build_internal/master.DEPS'
427 s.url = ('https://chrome-internal.googlesource.com/'
428 'chrome/tools/build/master.DEPS.git')
429 c.got_revision_mapping['build_internal/master.DEPS'] = 'got_revision'
430
431 @config_ctx()
424 def slave_deps(c): 432 def slave_deps(c):
425 s = c.solutions.add() 433 s = c.solutions.add()
426 s.name = 'build_internal/slave.DEPS' 434 s.name = 'build_internal/slave.DEPS'
427 s.url = ('https://chrome-internal.googlesource.com/' 435 s.url = ('https://chrome-internal.googlesource.com/'
428 'chrome/tools/build/slave.DEPS.git') 436 'chrome/tools/build/slave.DEPS.git')
429 c.got_revision_mapping['build_internal/slave.DEPS'] = 'got_revision' 437 c.got_revision_mapping['build_internal/slave.DEPS'] = 'got_revision'
430 438
431 @config_ctx() 439 @config_ctx()
432 def internal_deps(c): 440 def internal_deps(c):
433 s = c.solutions.add() 441 s = c.solutions.add()
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 soln = c.solutions.add() 642 soln = c.solutions.add()
635 soln.name = 'gerrit-test-cq-normal' 643 soln.name = 'gerrit-test-cq-normal'
636 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 644 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
637 645
638 # TODO(phajdan.jr): Move to proper repo and add coverage. 646 # TODO(phajdan.jr): Move to proper repo and add coverage.
639 @config_ctx() 647 @config_ctx()
640 def valgrind(c): # pragma: no cover 648 def valgrind(c): # pragma: no cover
641 """Add Valgrind binaries to the gclient solution.""" 649 """Add Valgrind binaries to the gclient solution."""
642 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 650 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
643 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 651 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « no previous file | recipe_modules/gclient/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698