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

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

Issue 1984993002: Set patch project path correct for WebRTC. (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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 cwd=api.path['slave_build'].join('src', 'third_party')) 86 cwd=api.path['slave_build'].join('src', 'third_party'))
87 87
88 api.gclient.break_locks() 88 api.gclient.break_locks()
89 89
90 del api.gclient.spec_alias 90 del api.gclient.spec_alias
91 91
92 api.gclient.runhooks() 92 api.gclient.runhooks()
93 93
94 assert not api.gclient.is_blink_mode 94 assert not api.gclient.is_blink_mode
95 95
96 if api.properties.get('patch_project'):
97 api.gclient.set_patch_project_revision(
98 patch_project=api.properties.get('patch_project'),
99 gclient_config=api.gclient.make_config('chromium_bare'))
100
101 96
102 def GenTests(api): 97 def GenTests(api):
103 yield api.test('basic') 98 yield api.test('basic')
104 99
105 yield api.test('revision') + api.properties(revision='abc') 100 yield api.test('revision') + api.properties(revision='abc')
106 101
107 yield api.test('tryserver') + api.properties.tryserver() 102 yield api.test('tryserver') + api.properties.tryserver()
108
109 yield (
110 api.test('tryserver_webrtc_patch') +
111 api.properties.tryserver(patch_project='webrtc')
112 )
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