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

Side by Side Diff: master/skia_master_scripts/android_roll_factory.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 # 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
3 # found in the LICENSE file.
4
5
6 from factory import SkiaFactory
7
8 import builder_name_schema
9
10
11 class AndroidRollFactory(SkiaFactory):
12 """Factory which rolls Skia revisions into Android."""
13
14 def Build(self, role=builder_name_schema.BUILDER_ROLE_HOUSEKEEPER,
15 clobber=None, **kwargs):
16 """Build and return the complete BuildFactory.
17
18 role: string; type of builder.
19 clobber: boolean indicating whether we should clean before building
20 """
21 if role != builder_name_schema.BUILDER_ROLE_HOUSEKEEPER:
22 raise Exception('Housekeeping builders must have role "%s"' %
23 builder_name_schema.BUILDER_ROLE_HOUSEKEEPER)
24
25 self.UpdateSteps()
26 self.AddSlaveScript(script='sync_android.py', description='SyncAndroid')
27 self.AddSlaveScript(script='merge_into_android.py', description='Merge')
28 self.Validate()
29 return self
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698