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 """ Install all executables, and any runtime resources that are needed by | 6 """ Install all executables, and any runtime resources that are needed by |
7 *both* Test and Bench builders. """ | 7 *both* Test and Bench builders. """ |
8 | 8 |
9 from build_step import BuildStep | 9 from build_step import BuildStep |
10 from utils import gs_utils | 10 from utils import gs_utils |
(...skipping 24 matching lines...) Expand all Loading... |
35 self.CopyDirectoryContentsToDevice(self._skp_dir, | 35 self.CopyDirectoryContentsToDevice(self._skp_dir, |
36 self._device_dirs.SKPDir()) | 36 self._device_dirs.SKPDir()) |
37 | 37 |
38 # Push resources to the device. | 38 # Push resources to the device. |
39 self.CopyDirectoryContentsToDevice(self._resource_dir, | 39 self.CopyDirectoryContentsToDevice(self._resource_dir, |
40 self._device_dirs.ResourceDir()) | 40 self._device_dirs.ResourceDir()) |
41 | 41 |
42 # Initialize a clean scratch directory. | 42 # Initialize a clean scratch directory. |
43 self.CreateCleanDirectory(self._device_dirs.TmpDir()) | 43 self.CreateCleanDirectory(self._device_dirs.TmpDir()) |
44 | 44 |
| 45 # Copy expectations file and images to decode in skimage to device. |
| 46 self.CopyDirectoryContentsToDevice(self._skimage_expected_dir, |
| 47 self._device_dirs.SKImageExpectedDir()) |
| 48 |
| 49 self.CopyDirectoryContentsToDevice(self._skimage_in_dir, |
| 50 self._device_dirs.SKImageInDir()) |
| 51 |
| 52 # Create an out directory locally for android builds, so the files can be |
| 53 # copied back to the master |
| 54 self.CreateCleanDirectory(self._skimage_out_dir) |
| 55 |
| 56 # Create a directory for the output of skimage |
| 57 self.CreateCleanDirectory(self._device_dirs.SKImageOutDir()) |
45 | 58 |
46 if '__main__' == __name__: | 59 if '__main__' == __name__: |
47 sys.exit(BuildStep.RunBuildStep(Install)) | 60 sys.exit(BuildStep.RunBuildStep(Install)) |
OLD | NEW |