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

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

Issue 1976843002: Add/rename chromium_perf gclient configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Coverage. 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 | Annotate | Revision Log
« 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 s = c.solutions[0] 463 s = c.solutions[0]
464 s.custom_vars['llvm_url'] = 'svn://svn-mirror.golo.chromium.org/llvm-project' 464 s.custom_vars['llvm_url'] = 'svn://svn-mirror.golo.chromium.org/llvm-project'
465 s.managed = False 465 s.managed = False
466 needed_components_internal = [ 466 needed_components_internal = [
467 "src/data/page_cycler", 467 "src/data/page_cycler",
468 ] 468 ]
469 for key in needed_components_internal: 469 for key in needed_components_internal:
470 del c.solutions[1].custom_deps[key] 470 del c.solutions[1].custom_deps[key]
471 c.solutions[1].managed = False 471 c.solutions[1].managed = False
472 472
473 @config_ctx(includes=['chromium', 'chrome_internal'])
474 def chromium_perf(c):
475 pass
476
477 @config_ctx(includes=['chromium_perf', 'android'])
478 def chromium_perf_android(c):
479 pass
480
473 @config_ctx(includes=['chromium']) 481 @config_ctx(includes=['chromium'])
474 def chromium_skia(c): 482 def chromium_skia(c):
475 c.solutions[0].revision = 'HEAD' 483 c.solutions[0].revision = 'HEAD'
476 del c.solutions[0].custom_deps 484 del c.solutions[0].custom_deps
477 c.revisions['src/third_party/skia'] = ( 485 c.revisions['src/third_party/skia'] = (
478 gclient_api.RevisionFallbackChain('origin/master')) 486 gclient_api.RevisionFallbackChain('origin/master'))
479 c.got_revision_mapping['src'] = 'got_chromium_revision' 487 c.got_revision_mapping['src'] = 'got_chromium_revision'
480 c.got_revision_mapping['src/third_party/skia'] = 'got_revision' 488 c.got_revision_mapping['src/third_party/skia'] = 'got_revision'
481 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' 489 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision'
482 490
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 soln = c.solutions.add() 671 soln = c.solutions.add()
664 soln.name = 'gerrit-test-cq-normal' 672 soln.name = 'gerrit-test-cq-normal'
665 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 673 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
666 674
667 # TODO(phajdan.jr): Move to proper repo and add coverage. 675 # TODO(phajdan.jr): Move to proper repo and add coverage.
668 @config_ctx() 676 @config_ctx()
669 def valgrind(c): # pragma: no cover 677 def valgrind(c): # pragma: no cover
670 """Add Valgrind binaries to the gclient solution.""" 678 """Add Valgrind binaries to the gclient solution."""
671 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 679 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
672 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 680 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