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

Unified Diff: slave/skia_slave_scripts/install.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/generate_doxygen.py ('k') | slave/skia_slave_scripts/merge_into_android.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/install.py
diff --git a/slave/skia_slave_scripts/install.py b/slave/skia_slave_scripts/install.py
deleted file mode 100644
index d5247bfa33aabad0741299c06e39f7b8e63f27ed..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/install.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 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.
-
-""" Install all executables, and any runtime resources that are needed by
- *both* Test and Bench builders. """
-
-from build_step import BuildStep
-from utils import old_gs_utils as gs_utils
-import os
-import sys
-
-
-class Install(BuildStep):
- def _Run(self):
- # Push the SKPs to the device.
- skps_need_updating = True
- try:
- # Only push if the existing set is out of date.
- host_timestamp = open(os.path.join(self.skp_dir,
- gs_utils.TIMESTAMP_COMPLETED_FILENAME)).read()
- device_timestamp = self._flavor_utils.ReadFileOnDevice(
- os.path.join(self._device_dirs.SKPDir(),
- gs_utils.TIMESTAMP_COMPLETED_FILENAME))
- if host_timestamp == device_timestamp:
- print 'SKPs are up to date. Skipping.'
- skps_need_updating = False
- else:
- print 'SKP timestamp does not match:\n%s\n%s\nPushing SKPs...' % (
- device_timestamp, host_timestamp)
- except Exception as e:
- print 'Could not get timestamps: %s' % e
- if skps_need_updating:
- self._flavor_utils.CopyDirectoryContentsToDevice(
- self.skp_dir, self._device_dirs.SKPDir())
-
- # Push resources to the device.
- self._flavor_utils.CopyDirectoryContentsToDevice(
- self._resource_dir, self._device_dirs.ResourceDir())
-
- # Initialize a clean scratch directory.
- self._flavor_utils.CreateCleanDeviceDirectory(self._device_dirs.TmpDir())
-
- # Install the Skia executables.
- self._flavor_utils.Install()
-
-if '__main__' == __name__:
- sys.exit(BuildStep.RunBuildStep(Install))
« no previous file with comments | « slave/skia_slave_scripts/generate_doxygen.py ('k') | slave/skia_slave_scripts/merge_into_android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698