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

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

Issue 1915463002: depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: rebase 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.expected/basic.json » ('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 DEPS = [ 5 DEPS = [
6 'gclient', 6 'gclient',
7 'infra_paths',
7 'recipe_engine/path', 8 'recipe_engine/path',
8 'recipe_engine/properties', 9 'recipe_engine/properties',
9 ] 10 ]
10 11
11 12
12 TEST_CONFIGS = [ 13 TEST_CONFIGS = [
13 'android', 14 'android',
14 'android_bare', 15 'android_bare',
15 'blink', 16 'blink',
16 'blink_or_chromium', 17 'blink_or_chromium',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 soln.url = 'svn://svn.chromium.org/blink/trunk' 75 soln.url = 'svn://svn.chromium.org/blink/trunk'
75 bl_cfg.revisions['third_party/WebKit'] = '123' 76 bl_cfg.revisions['third_party/WebKit'] = '123'
76 77
77 # Use safesync url for lkgr. 78 # Use safesync url for lkgr.
78 soln.safesync_url = 'https://blink-status.appspot.com/lkgr' 79 soln.safesync_url = 'https://blink-status.appspot.com/lkgr'
79 80
80 bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision' 81 bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision'
81 api.gclient.checkout( 82 api.gclient.checkout(
82 gclient_config=bl_cfg, 83 gclient_config=bl_cfg,
83 with_branch_heads=True, 84 with_branch_heads=True,
84 cwd=api.path['slave_build'].join('src', 'third_party')) 85 cwd=api.infra_paths['slave_build'].join('src', 'third_party'))
85 86
86 api.gclient.break_locks() 87 api.gclient.break_locks()
87 88
88 del api.gclient.spec_alias 89 del api.gclient.spec_alias
89 90
90 api.gclient.runhooks() 91 api.gclient.runhooks()
91 92
92 assert not api.gclient.is_blink_mode 93 assert not api.gclient.is_blink_mode
93 94
94 95
95 def GenTests(api): 96 def GenTests(api):
96 yield api.test('basic') 97 yield api.test('basic')
97 98
98 yield api.test('revision') + api.properties(revision='abc') 99 yield api.test('revision') + api.properties(revision='abc')
99 100
100 yield api.test('tryserver') + api.properties.tryserver() 101 yield api.test('tryserver') + api.properties.tryserver()
OLDNEW
« no previous file with comments | « recipe_modules/gclient/api.py ('k') | recipe_modules/gclient/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698