| Index: recipes/chromium.py
|
| diff --git a/recipes/chromium.py b/recipes/chromium.py
|
| index b9156ed926c8cbd484dd1641e7c260fc95dfc2fa..7e9be751e2bdf92dcc0f04eb10600788a29e73b7 100644
|
| --- a/recipes/chromium.py
|
| +++ b/recipes/chromium.py
|
| @@ -2,10 +2,12 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import sys
|
| # pylint: disable=F0401
|
| import recipe_util
|
| -import sys
|
|
|
| +
|
| +# This class doesn't need an __init__ method, so we disable the warning
|
| # pylint: disable=W0232
|
| class Chromium(recipe_util.Recipe):
|
| """Basic Recipe class for Chromium."""
|
| @@ -30,13 +32,15 @@ class Chromium(recipe_util.Recipe):
|
| }
|
| if props.get('submodule_git_svn_spec'):
|
| spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec']
|
| + if props.get('target_os'):
|
| + spec['target_os'] = props['target_os'].split(',')
|
| checkout_type = 'gclient_git_svn'
|
| if props.get('nosvn'):
|
| checkout_type = 'gclient_git'
|
| spec_type = '%s_spec' % checkout_type
|
| return {
|
| 'type': checkout_type,
|
| - spec_type: spec
|
| + spec_type: spec,
|
| }
|
|
|
| @staticmethod
|
|
|