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

Side by Side Diff: scripts/slave/recipe_modules/skia/default_flavor.py

Issue 2162563002: [Skia] Convert Sk Images to a CIPD package (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix whitespace Created 4 years, 5 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
« no previous file with comments | « scripts/slave/recipe_modules/skia/api.py ('k') | scripts/slave/recipes/skia/swarm_perf.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 """Run any device-specific cleanup steps.""" 205 """Run any device-specific cleanup steps."""
206 pass 206 pass
207 207
208 def get_device_dirs(self): 208 def get_device_dirs(self):
209 """ Set the directories which will be used by the build steps. 209 """ Set the directories which will be used by the build steps.
210 210
211 These refer to paths on the same device where the test executables will 211 These refer to paths on the same device where the test executables will
212 run, for example, for Android bots these are paths on the Android device 212 run, for example, for Android bots these are paths on the Android device
213 itself. For desktop bots, these are just local paths. 213 itself. For desktop bots, these are just local paths.
214 """ 214 """
215 pardir = self._skia_api.m.path.pardir
216 join = self._skia_api.slave_dir.join
217 return DeviceDirs( 215 return DeviceDirs(
218 dm_dir=self._skia_api.dm_dir, 216 dm_dir=self._skia_api.dm_dir,
219 perf_data_dir=self._skia_api.perf_data_dir, 217 perf_data_dir=self._skia_api.perf_data_dir,
220 resource_dir=self._skia_api.resource_dir, 218 resource_dir=self._skia_api.resource_dir,
221 images_dir=join('images'), 219 images_dir=self._skia_api.images_dir,
222 skp_dir=self._skia_api.local_skp_dir, 220 skp_dir=self._skia_api.local_skp_dir,
223 tmp_dir=join('tmp')) 221 tmp_dir=self._skia_api.tmp_dir)
224 222
225 def __repr__(self): 223 def __repr__(self):
226 return '<%s object>' % self.__class__.__name__ # pragma: no cover 224 return '<%s object>' % self.__class__.__name__ # pragma: no cover
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/skia/api.py ('k') | scripts/slave/recipes/skia/swarm_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698