Index: recipes/gyp.py |
diff --git a/recipes/chromium.py b/recipes/gyp.py |
similarity index 61% |
copy from recipes/chromium.py |
copy to recipes/gyp.py |
index 6416ee0bbd7a4b1240e7a04acd2132a018906499..3973756d3f54967661b39fff8ed6f1a47aa69a8c 100644 |
--- a/recipes/chromium.py |
+++ b/recipes/gyp.py |
@@ -1,4 +1,4 @@ |
-# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2015 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. |
@@ -14,23 +14,16 @@ class Chromium(recipe_util.Recipe): |
@staticmethod |
def fetch_spec(props): |
- url = 'https://chromium.googlesource.com/chromium/src.git' |
- solution = { 'name' :'src', |
+ url = 'https://chromium.googlesource.com/external/gyp.git' |
+ solution = { 'name' :'gyp', |
'url' : url, |
- 'deps_file': '.DEPS.git', |
'managed' : False, |
'custom_deps': {}, |
'safesync_url': '', |
} |
- if props.get('webkit_revision', '') == 'ToT': |
- solution['custom_vars'] = {'webkit_revision': ''} |
spec = { |
'solutions': [solution], |
} |
- 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'] |
return { |
'type': 'gclient_git', |
'gclient_git_spec': spec, |
@@ -38,7 +31,7 @@ class Chromium(recipe_util.Recipe): |
@staticmethod |
def expected_root(_props): |
- return 'src' |
+ return 'gyp' |
def main(argv=None): |