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

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

Issue 2154223003: Revert of [Skia] Convert Sk Images to a CIPD package (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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
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
215 return DeviceDirs( 217 return DeviceDirs(
216 dm_dir=self._skia_api.dm_dir, 218 dm_dir=self._skia_api.dm_dir,
217 perf_data_dir=self._skia_api.perf_data_dir, 219 perf_data_dir=self._skia_api.perf_data_dir,
218 resource_dir=self._skia_api.resource_dir, 220 resource_dir=self._skia_api.resource_dir,
219 images_dir=self._skia_api.images_dir, 221 images_dir=join('images'),
220 skp_dir=self._skia_api.local_skp_dir, 222 skp_dir=self._skia_api.local_skp_dir,
221 tmp_dir=self._skia_api.tmp_dir) 223 tmp_dir=join('tmp'))
222 224
223 def __repr__(self): 225 def __repr__(self):
224 return '<%s object>' % self.__class__.__name__ # pragma: no cover 226 return '<%s object>' % self.__class__.__name__ # pragma: no cover
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698