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

Unified Diff: slave/skia_slave_scripts/download_skimage_files.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « slave/skia_slave_scripts/do_skps_capture.py ('k') | slave/skia_slave_scripts/download_skps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/download_skimage_files.py
diff --git a/slave/skia_slave_scripts/download_skimage_files.py b/slave/skia_slave_scripts/download_skimage_files.py
deleted file mode 100644
index 158cbc53dbe085f84e761dc6ba2b91995dcd9c28..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/download_skimage_files.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-""" Download the image files needed to run skimage tool. """
-
-from build_step import BuildStep
-from utils import old_gs_utils as gs_utils
-from utils import sync_bucket_subdir
-import posixpath
-import sys
-
-class DownloadSKImageFiles(BuildStep):
- def __init__(self, timeout=12800, no_output_timeout=9600, **kwargs):
- super (DownloadSKImageFiles, self).__init__(
- timeout=timeout,
- no_output_timeout=no_output_timeout,
- **kwargs)
-
- def _DownloadSKImagesFromStorage(self):
- """Copies over image files from Google Storage if the timestamps differ."""
- dest_gsbase = (self._args.get('dest_gsbase') or
- sync_bucket_subdir.DEFAULT_PERFDATA_GS_BASE)
- print '\n\n========Downloading image files from Google Storage========\n\n'
- gs_relative_dir = posixpath.join('skimage', 'input')
- gs_utils.download_directory_contents_if_changed(
- gs_base=dest_gsbase,
- gs_relative_dir=gs_relative_dir,
- local_dir=self._skimage_in_dir)
-
- def _Run(self):
- # Locally copy image files from GoogleStorage.
- self._DownloadSKImagesFromStorage()
-
-
-if '__main__' == __name__:
- sys.exit(BuildStep.RunBuildStep(DownloadSKImageFiles))
« no previous file with comments | « slave/skia_slave_scripts/do_skps_capture.py ('k') | slave/skia_slave_scripts/download_skps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698