OLD | NEW |
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 Loading... |
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 ) | |
OLD | NEW |