Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Side by Side Diff: slave/skia_slave_scripts/prebench.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Fix launch_slaves, remove more stuff Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
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
4 # found in the LICENSE file.
5
6 """ Prepare runtime resources that are needed by Bench builders but not
7 Test builders. """
8
9 from build_step import BuildStep
10 import sys
11
12
13 class PreBench(BuildStep):
14 def _Run(self):
15 if self._perf_data_dir:
16 # Create the data dir if it doesn't exist.
17 self._flavor_utils.CreateCleanDeviceDirectory(self._device_dirs.PerfDir())
18 self._flavor_utils.CreateCleanHostDirectory(self._perf_data_dir)
19
20
21 if '__main__' == __name__:
22 sys.exit(BuildStep.RunBuildStep(PreBench))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698