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

Side by Side Diff: slave/skia_slave_scripts/chrome_canary_update.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 unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2013 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 """ Check out the Skia sources. """
7
8 # build_step must be imported first, since it does some tweaking of PYTHONPATH.
9 from build_step import BuildStep
10 from utils import sync_skia_in_chrome
11 import sys
12
13
14 class ChromeCanaryUpdate(BuildStep):
15 def __init__(self, timeout=24000, no_output_timeout=4800, attempts=5,
16 **kwargs):
17 super(ChromeCanaryUpdate, self).__init__(
18 timeout=timeout,
19 no_output_timeout=no_output_timeout,
20 attempts=attempts,
21 **kwargs)
22
23 def _Run(self):
24 chrome_rev = self._args.get('chrome_rev',
25 sync_skia_in_chrome.CHROME_REV_MASTER)
26 skia_rev = (sync_skia_in_chrome.SKIA_REV_DEPS
27 if self._args.get('use_lkgr_skia')
28 else (self._revision or sync_skia_in_chrome.SKIA_REV_MASTER))
29 (got_skia_rev, got_chrome_rev) = sync_skia_in_chrome.Sync(
30 skia_revision=skia_rev,
31 chrome_revision=chrome_rev,
32 gyp_defines=self._flavor_utils.gyp_defines,
33 gyp_generators=self._flavor_utils.gyp_generators)
34 print 'Skia updated to %s' % got_skia_rev
35 print 'Chrome updated to %s' % got_chrome_rev
36
37
38 if '__main__' == __name__:
39 sys.exit(BuildStep.RunBuildStep(ChromeCanaryUpdate))
OLDNEW
« no previous file with comments | « slave/skia_slave_scripts/check_gs_timestamps.py ('k') | slave/skia_slave_scripts/chrome_drt_canary_pretest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698