OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """ BuildStepUtils for a remote-execution-via-SSH environment. """ | 5 """ BuildStepUtils for a remote-execution-via-SSH environment. """ |
6 | 6 |
7 | 7 |
8 from default_build_step_utils import DefaultBuildStepUtils, DeviceDirs | 8 from default_build_step_utils import DefaultBuildStepUtils, DeviceDirs |
9 from slave import slave_utils | 9 from slave import slave_utils |
10 from utils import gs_utils | 10 from utils import gs_utils |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 return DeviceDirs( | 166 return DeviceDirs( |
167 perf_data_dir=prefix + 'perf', | 167 perf_data_dir=prefix + 'perf', |
168 gm_actual_dir=prefix + 'gm_actual', | 168 gm_actual_dir=prefix + 'gm_actual', |
169 gm_expected_dir=prefix + 'gm_expected', | 169 gm_expected_dir=prefix + 'gm_expected', |
170 resource_dir=prefix + 'resources', | 170 resource_dir=prefix + 'resources', |
171 skimage_in_dir=prefix + 'skimage_in', | 171 skimage_in_dir=prefix + 'skimage_in', |
172 skimage_expected_dir=prefix + 'skimage_expected', | 172 skimage_expected_dir=prefix + 'skimage_expected', |
173 skimage_out_dir=prefix + 'skimage_out', | 173 skimage_out_dir=prefix + 'skimage_out', |
174 skp_dir=prefix + 'skp', | 174 skp_dir=prefix + 'skp', |
175 skp_perf_dir=prefix + 'skp_perf', | 175 skp_perf_dir=prefix + 'skp_perf', |
176 playback_actual_images_dir=prefix + 'playback_actual_images', | 176 skp_out_dir=prefix + 'skp_out', |
177 playback_actual_summaries_dir=prefix + 'playback_actual_summaries', | |
178 playback_expected_summaries_dir=prefix + 'playback_expected_summaries', | |
179 tmp_dir=prefix + 'tmp_dir') | 177 tmp_dir=prefix + 'tmp_dir') |
180 | 178 |
181 def MakeClean(self): | 179 def MakeClean(self): |
182 """ Overridden from DefaultBuildStepUtils """ | 180 """ Overridden from DefaultBuildStepUtils """ |
183 if os.path.isdir(self._build_dir): | 181 if os.path.isdir(self._build_dir): |
184 shutil.rmtree(os.path.realpath(self._build_dir)) | 182 shutil.rmtree(os.path.realpath(self._build_dir)) |
OLD | NEW |