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

Unified Diff: tools/clang/scripts/update.py

Issue 2784053003: Check for SVN earlier in clang's update.py script (Closed)
Patch Set: Only get svn if we were going to build locally Created 3 years, 9 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: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 3953d672946bb17cc522ae7d2f8eb63d52627682..05dbe71920e10b717878615a57ffa4d3d89291a8 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -450,7 +450,6 @@ def UpdateClang(args):
return 1
DownloadHostGcc(args)
- AddSvnToPathOnWin()
AddCMakeToPath()
AddGnuWinToPath()
@@ -881,6 +880,10 @@ def main():
print 'Skipping Clang update (make_clang_dir= was set in GYP_DEFINES).'
return 0
+ if (use_head_revision or args.llvm_force_head_revision or
Reid Kleckner 2017/03/29 22:10:57 Do we need both the LLVM_USE_HEAD_REVISION environ
Nico 2017/03/29 23:16:41 Yes :-( This runs as a hook on bots, and there's n
+ args.force_local_build):
+ AddSvnToPathOnWin()
+
global CLANG_REVISION, PACKAGE_VERSION
if args.print_revision:
if use_head_revision or args.llvm_force_head_revision:
« 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