OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ Step to run after the render steps. """ | 6 """ Step to run after the render steps. """ |
7 | 7 |
8 from build_step import BuildStep | 8 from build_step import BuildStep |
9 import sys | 9 import sys |
10 | 10 |
11 | 11 |
12 class PostRender(BuildStep): | 12 class PostRender(BuildStep): |
13 def _Run(self): | 13 def _Run(self): |
14 self._flavor_utils.CopyDirectoryContentsToHost( | 14 self._flavor_utils.CopyDirectoryContentsToHost( |
15 self._flavor_utils.DevicePathJoin(self._device_dirs.GMActualDir(), | 15 self._flavor_utils.DevicePathJoin(self._device_dirs.GMActualDir(), |
16 self._gm_image_subdir), | 16 self._builder_name), |
17 self._gm_actual_dir) | 17 self._gm_actual_dir) |
18 self._flavor_utils.CopyDirectoryContentsToHost( | 18 self._flavor_utils.CopyDirectoryContentsToHost( |
19 self._device_dirs.SKPOutDir(), | 19 self._device_dirs.SKPOutDir(), |
20 self._local_playback_dirs.PlaybackGmActualDir()) | 20 self._local_playback_dirs.PlaybackGmActualDir()) |
21 self._flavor_utils.CopyDirectoryContentsToHost( | 21 self._flavor_utils.CopyDirectoryContentsToHost( |
22 self._device_dirs.SKImageOutDir(), self._skimage_out_dir) | 22 self._device_dirs.SKImageOutDir(), self._skimage_out_dir) |
23 | 23 |
24 | 24 |
25 if '__main__' == __name__: | 25 if '__main__' == __name__: |
26 sys.exit(BuildStep.RunBuildStep(PostRender)) | 26 sys.exit(BuildStep.RunBuildStep(PostRender)) |
OLD | NEW |