Delete blink fetch recipe
Devs should use fetch chromium instead R=phajdan.jr@chromium.org BUG= Review URL: https://codereview.chromium.org/1367473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296860 0039d316-1c4b-4281-b951-d872f2087c98changes/01/332501/1
parent
c6e39fe486
commit
e0cc9e4949
@ -1,59 +0,0 @@
|
|||||||
# Copyright (c) 2013 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.
|
|
||||||
|
|
||||||
import json
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import recipe_util # pylint: disable=F0401
|
|
||||||
|
|
||||||
|
|
||||||
# This class doesn't need an __init__ method, so we disable the warning
|
|
||||||
# pylint: disable=W0232
|
|
||||||
class Blink(recipe_util.Recipe):
|
|
||||||
"""Basic Recipe alias for Blink -> Chromium."""
|
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def fetch_spec(props):
|
|
||||||
chromium_url = 'https://chromium.googlesource.com/chromium/src.git'
|
|
||||||
chromium_solution = {'name': 'src',
|
|
||||||
'url': chromium_url,
|
|
||||||
'deps_file': 'DEPS',
|
|
||||||
'managed': False,
|
|
||||||
'custom_deps': {
|
|
||||||
'src/third_party/WebKit': None,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
blink_url = 'https://chromium.googlesource.com/chromium/blink.git'
|
|
||||||
blink_solution = {'name': 'src/third_party/WebKit',
|
|
||||||
'url': blink_url,
|
|
||||||
'deps_file': '.DEPS.git',
|
|
||||||
'managed': False,
|
|
||||||
'custom_deps': {},
|
|
||||||
}
|
|
||||||
spec = {
|
|
||||||
'solutions': [chromium_solution, blink_solution],
|
|
||||||
'auto': True,
|
|
||||||
}
|
|
||||||
if props.get('target_os'):
|
|
||||||
spec['target_os'] = props['target_os'].split(',')
|
|
||||||
if props.get('target_os_only'):
|
|
||||||
spec['target_os_only'] = props['target_os_only']
|
|
||||||
toolchain_hook = [sys.executable, 'src/build/confirm_toolchain.py']
|
|
||||||
spec['fetch_hooks'] = [toolchain_hook]
|
|
||||||
return {
|
|
||||||
'type': 'gclient_git_svn',
|
|
||||||
'gclient_git_svn_spec': spec,
|
|
||||||
}
|
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def expected_root(_props):
|
|
||||||
return 'src/third_party/WebKit'
|
|
||||||
|
|
||||||
|
|
||||||
def main(argv=None):
|
|
||||||
return Blink().handle_args(argv)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
sys.exit(main(sys.argv))
|
|
||||||
Loading…
Reference in New Issue