OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 5 |
6 # pylint: disable=W0201 | 6 # pylint: disable=W0201 |
7 | 7 |
8 | 8 |
9 from recipe_engine import recipe_api | 9 from recipe_engine import recipe_api |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 self.m.path.c.base_paths['depot_tools'] = ( | 41 self.m.path.c.base_paths['depot_tools'] = ( |
42 self.m.path.c.base_paths['slave_build'] + | 42 self.m.path.c.base_paths['slave_build'] + |
43 ('skia', 'infra', 'bots', '.recipe_deps', 'depot_tools')) | 43 ('skia', 'infra', 'bots', '.recipe_deps', 'depot_tools')) |
44 if 'Win' in self.builder_name: | 44 if 'Win' in self.builder_name: |
45 self.m.path.c.base_paths['depot_tools'] = ( | 45 self.m.path.c.base_paths['depot_tools'] = ( |
46 'c:\\', 'Users', 'chrome-bot', 'depot_tools') | 46 'c:\\', 'Users', 'chrome-bot', 'depot_tools') |
47 | 47 |
48 # Compile bots keep a persistent checkout. | 48 # Compile bots keep a persistent checkout. |
49 self.persistent_checkout = (self.is_compile_bot or | 49 self.persistent_checkout = (self.is_compile_bot or |
50 'RecreateSKPs' in self.builder_name or | 50 'RecreateSKPs' in self.builder_name or |
51 '-CT_' in self.builder_name) | 51 '-CT_' in self.builder_name or |
| 52 'Presubmit' in self.builder_name) |
52 if self.persistent_checkout: | 53 if self.persistent_checkout: |
53 if 'Win' in self.builder_name: | 54 if 'Win' in self.builder_name: |
54 self.checkout_root = self.make_path('C:\\', 'b', 'work') | 55 self.checkout_root = self.make_path('C:\\', 'b', 'work') |
55 self.gclient_cache = self.make_path('C:\\', 'b', 'cache') | 56 self.gclient_cache = self.make_path('C:\\', 'b', 'cache') |
56 else: | 57 else: |
57 self.checkout_root = self.make_path('/', 'b', 'work') | 58 self.checkout_root = self.make_path('/', 'b', 'work') |
58 self.gclient_cache = self.make_path('/', 'b', 'cache') | 59 self.gclient_cache = self.make_path('/', 'b', 'cache') |
59 | 60 |
60 # got_revision is filled in after checkout steps. | 61 # got_revision is filled in after checkout steps. |
61 self.got_revision = None | 62 self.got_revision = None |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 'TSAN', | 152 'TSAN', |
152 'UBSAN', | 153 'UBSAN', |
153 'Valgrind', | 154 'Valgrind', |
154 ] | 155 ] |
155 upload_perf_results = True | 156 upload_perf_results = True |
156 for s in skip_upload_bots: | 157 for s in skip_upload_bots: |
157 if s in self.m.properties['buildername']: | 158 if s in self.m.properties['buildername']: |
158 upload_perf_results = False | 159 upload_perf_results = False |
159 break | 160 break |
160 return upload_perf_results | 161 return upload_perf_results |
OLD | NEW |