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

Unified Diff: fetch.py

Issue 13976012: On linux, fetch should install the build deps before running gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: updates Created 7 years, 8 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: fetch.py
diff --git a/fetch.py b/fetch.py
index aca0f88d60945c16fb49d9d79051e3553a2e6009..0454bd8a36099a2c397fa29d83dbe1303f9e5f87 100755
--- a/fetch.py
+++ b/fetch.py
@@ -114,12 +114,18 @@ class GclientGitCheckout(GclientCheckout, GitCheckout):
# Configure and do the gclient checkout.
self.run_gclient('config', '--spec', self.spec['gclient_spec'])
- self.run_gclient('sync')
+ self.run_gclient('sync', '--nohooks')
- # Configure git.
wd = os.path.join(self.base, self.root)
if self.dryrun:
print 'cd %s' % wd
+
+ if sys.platform.startswith('linux'):
+ self.run(('build/install-build-deps.sh',), cwd=wd)
+
+ self.run_gclient('runhooks')
+
+ # Configure git.
self.run_git(
'submodule', 'foreach',
'git config -f $toplevel/.git/config submodule.$name.ignore all',
« 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