Index: slave/skia_slave_scripts/install.py |
diff --git a/slave/skia_slave_scripts/install.py b/slave/skia_slave_scripts/install.py |
index 4c5f54146953c38d234d9c2a3ecd7aeed525d6ca..2e07e2761b1b6c66b50b86711b469fa695cfe0fc 100644 |
--- a/slave/skia_slave_scripts/install.py |
+++ b/slave/skia_slave_scripts/install.py |
@@ -7,6 +7,7 @@ |
*both* Test and Bench builders. """ |
from build_step import BuildStep |
+from utils import file_utils |
from utils import gs_utils |
import os |
import sys |
@@ -42,6 +43,19 @@ class Install(BuildStep): |
# Initialize a clean scratch directory. |
self.CreateCleanDirectory(self._device_dirs.TmpDir()) |
+ # Copy expectations file and images to decode in skimage to device. |
+ self.CopyDirectoryContentsToDevice(self._skimage_expected_dir, |
+ self._device_dirs.SKImageExpectedDir()) |
+ |
+ self.CopyDirectoryContentsToDevice(self._skimage_in_dir, |
+ self._device_dirs.SKImageInDir()) |
+ |
+ # Create an out directory locally for android builds, so the files can be |
+ # copied back to the master |
+ file_utils.CreateCleanLocalDir(self._skimage_out_dir) |
+ |
+ # Create a directory for the output of skimage |
+ self.CreateCleanDirectory(self._device_dirs.SKImageOutDir()) |
borenet
2013/06/26 12:54:45
Can we put these additions in PreRender since they
scroggo
2013/06/26 15:06:39
Done.
|
if '__main__' == __name__: |
sys.exit(BuildStep.RunBuildStep(Install)) |