| 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 | |
| 46 if '__main__' == __name__: | 45 if '__main__' == __name__: |
| 47 sys.exit(BuildStep.RunBuildStep(Install)) | 46 sys.exit(BuildStep.RunBuildStep(Install)) |
| OLD | NEW |