| 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 |
| 11 | 11 |
| 12 BOTO_CHROMIUM_SKIA_GM = 'chromium-skia-gm.boto' | |
| 13 | |
| 14 CONFIG_DEBUG = 'Debug' | 12 CONFIG_DEBUG = 'Debug' |
| 15 CONFIG_RELEASE = 'Release' | 13 CONFIG_RELEASE = 'Release' |
| 16 | 14 |
| 17 | 15 |
| 18 class SkiaVarsApi(recipe_api.RecipeApi): | 16 class SkiaVarsApi(recipe_api.RecipeApi): |
| 19 | 17 |
| 20 def make_path(self, *path): | 18 def make_path(self, *path): |
| 21 """Return a Path object for the given path.""" | 19 """Return a Path object for the given path.""" |
| 22 key = 'custom_%s' % '_'.join(path) | 20 key = 'custom_%s' % '_'.join(path) |
| 23 self.m.path.c.base_paths[key] = tuple(path) | 21 self.m.path.c.base_paths[key] = tuple(path) |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 for s in skip_upload_bots: | 136 for s in skip_upload_bots: |
| 139 if s in self.m.properties['buildername']: | 137 if s in self.m.properties['buildername']: |
| 140 upload_dm_results = False | 138 upload_dm_results = False |
| 141 break | 139 break |
| 142 return upload_dm_results | 140 return upload_dm_results |
| 143 | 141 |
| 144 @property | 142 @property |
| 145 def upload_perf_results(self): | 143 def upload_perf_results(self): |
| 146 # TODO(borenet): Move this into the swarm_perf recipe. | 144 # TODO(borenet): Move this into the swarm_perf recipe. |
| 147 return ('Release' in self.m.properties['buildername']) | 145 return ('Release' in self.m.properties['buildername']) |
| OLD | NEW |