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

Unified Diff: recipes/gyp.py

Issue 1266713009: Add a fetch recipe for gyp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698