| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """Default flavor utils class, used for desktop builders.""" | 6 """Default flavor utils class, used for desktop builders.""" |
| 7 | 7 |
| 8 | 8 |
| 9 import json | 9 import json |
| 10 | 10 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 pass | 273 pass |
| 274 | 274 |
| 275 def get_device_dirs(self): | 275 def get_device_dirs(self): |
| 276 """ Set the directories which will be used by the build steps. | 276 """ Set the directories which will be used by the build steps. |
| 277 | 277 |
| 278 These refer to paths on the same device where the test executables will | 278 These refer to paths on the same device where the test executables will |
| 279 run, for example, for Android bots these are paths on the Android device | 279 run, for example, for Android bots these are paths on the Android device |
| 280 itself. For desktop bots, these are just local paths. | 280 itself. For desktop bots, these are just local paths. |
| 281 """ | 281 """ |
| 282 pardir = self._skia_api.m.path.pardir | 282 pardir = self._skia_api.m.path.pardir |
| 283 join = self._skia_api.m.infra_paths['slave_build'].join | 283 join = self._skia_api.m.path['slave_build'].join |
| 284 return DeviceDirs( | 284 return DeviceDirs( |
| 285 dm_dir=self._skia_api.dm_dir, | 285 dm_dir=self._skia_api.dm_dir, |
| 286 perf_data_dir=self._skia_api.perf_data_dir, | 286 perf_data_dir=self._skia_api.perf_data_dir, |
| 287 resource_dir=self._skia_api.resource_dir, | 287 resource_dir=self._skia_api.resource_dir, |
| 288 images_dir=join('images'), | 288 images_dir=join('images'), |
| 289 skp_dir=self._skia_api.local_skp_dir, | 289 skp_dir=self._skia_api.local_skp_dir, |
| 290 tmp_dir=join('tmp')) | 290 tmp_dir=join('tmp')) |
| 291 | 291 |
| 292 def __repr__(self): | 292 def __repr__(self): |
| 293 return '<%s object>' % self.__class__.__name__ # pragma: no cover | 293 return '<%s object>' % self.__class__.__name__ # pragma: no cover |
| OLD | NEW |