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

Side by Side Diff: scripts/master/factory/chromeos_factory.py

Issue 3777004: Fix imports and bring over a missing file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/chromeos_commands.py ('k') | site_config/config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Set of utilities to build the chromium master.""" 6 """Set of utilities to build the chromium master."""
7 7
8 import os 8 import os
9 from buildbot.steps import trigger, shell 9 from buildbot.steps import trigger, shell
10 from buildbot.process import factory 10 from buildbot.process import factory
11 from build_factory import BuildFactory 11 from build_factory import BuildFactory
12 12
13 13
14 import chromium_config as config 14 from master.factory import chromeos_commands
15 import chromeos_commands 15 from master.factory import chromeos_build_factory
16 import chromeos_build_factory 16 from master.factory import gclient_factory
17 import chromeos_revision_source 17 from master import chromeos_revision_source
18 18
19 import gclient_factory 19 import config
20 20
21 from buildbot.process.properties import WithProperties 21 from buildbot.process.properties import WithProperties
22 22
23 class ChromeOSFactory(gclient_factory.GClientFactory): 23 class ChromeOSFactory(gclient_factory.GClientFactory):
24 """Encapsulates data and methods common to the chromium master.cfg files.""" 24 """Encapsulates data and methods common to the chromium master.cfg files."""
25 25
26 DEFAULT_TARGET_PLATFORM = config.Master.default_platform 26 DEFAULT_TARGET_PLATFORM = config.Master.default_platform
27 27
28 def __init__(self, build_dir, target_platform=None, target_arch=None, 28 def __init__(self, build_dir, target_platform=None, target_arch=None,
29 official_build=None): 29 official_build=None):
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 description='triagelog') 371 description='triagelog')
372 372
373 def get_factory(self): 373 def get_factory(self):
374 """ 374 """
375 Return the produced factory. 375 Return the produced factory.
376 376
377 Returns: 377 Returns:
378 a buildbot factory object 378 a buildbot factory object
379 """ 379 """
380 return self.f_cbuild 380 return self.f_cbuild
OLDNEW
« no previous file with comments | « scripts/master/factory/chromeos_commands.py ('k') | site_config/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698