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

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

Issue 1977373002: Fix revision for WebRTC patches sent to Chromium trybots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Addressed comments 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
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 'recipe_engine/path', 7 'recipe_engine/path',
8 'recipe_engine/properties', 8 'recipe_engine/properties',
9 ] 9 ]
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 cwd=api.path['slave_build'].join('src', 'third_party')) 84 cwd=api.path['slave_build'].join('src', 'third_party'))
85 85
86 api.gclient.break_locks() 86 api.gclient.break_locks()
87 87
88 del api.gclient.spec_alias 88 del api.gclient.spec_alias
89 89
90 api.gclient.runhooks() 90 api.gclient.runhooks()
91 91
92 assert not api.gclient.is_blink_mode 92 assert not api.gclient.is_blink_mode
93 93
94 if api.properties.get('patch_project'):
95 api.gclient.set_patch_project_revision(
96 patch_project=api.properties.get('patch_project'),
97 gclient_config=api.gclient.make_config('chromium_bare'))
98
94 99
95 def GenTests(api): 100 def GenTests(api):
96 yield api.test('basic') 101 yield api.test('basic')
97 102
98 yield api.test('revision') + api.properties(revision='abc') 103 yield api.test('revision') + api.properties(revision='abc')
99 104
100 yield api.test('tryserver') + api.properties.tryserver() 105 yield api.test('tryserver') + api.properties.tryserver()
106
107 yield (
108 api.test('tryserver_webrtc_patch') +
109 api.properties.tryserver(patch_project='webrtc')
110 )
OLDNEW
« no previous file with comments | « recipe_modules/gclient/config.py ('k') | recipe_modules/gclient/example.expected/tryserver_webrtc_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698