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

Side by Side Diff: slave/skia_slave_scripts/postrender.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Fix launch_slaves, remove more stuff Created 6 years, 2 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
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """ Step to run after the render steps. """
7
8 from build_step import BuildStep
9 import sys
10
11
12 class PostRender(BuildStep):
13 def _RunAfterGenerateGMs(self):
14 self._flavor_utils.CopyDirectoryContentsToHost(
15 self._flavor_utils.DevicePathJoin(self._device_dirs.GMActualDir(),
16 self._builder_name),
17 self._gm_actual_dir)
18
19 def _RunAfterDM(self):
20 self._flavor_utils.CopyDirectoryContentsToHost(self._device_dirs.DMDir(),
21 self._dm_dir)
22
23 def _RunAfterRunDecodingTests(self):
24 self._flavor_utils.CopyDirectoryContentsToHost(
25 self._device_dirs.SKImageOutDir(), self._skimage_out_dir)
26
27 def _RunAfterRenderSKPs(self):
28 self._flavor_utils.CopyDirectoryContentsToHost(
29 self._device_dirs.PlaybackActualImagesDir(),
30 self.playback_actual_images_dir)
31 self._flavor_utils.CopyDirectoryContentsToHost(
32 self._device_dirs.PlaybackActualSummariesDir(),
33 self.playback_actual_summaries_dir)
34
35
36 def _Run(self):
37 self._RunAfterGenerateGMs()
38 self._RunAfterDM()
39 self._RunAfterRunDecodingTests()
40 self._RunAfterRenderSKPs()
41
42
43 if '__main__' == __name__:
44 sys.exit(BuildStep.RunBuildStep(PostRender))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698