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

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

Issue 336163004: Clang update.py: check for LLVM_FORCE_HEAD_REVISION in the environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just check LLVM_FORCE_HEAD_REVISION Created 6 years, 6 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 89c5b1f1787884af8c2c7f5f8c6af3002e1ad57d..97b1d0c9314a081809e71c046a49d94cc51e1988 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -20,8 +20,8 @@ LLVM_WIN_REVISION = 'HEAD'
# ASan on Windows is useful enough to use it even while the clang/win is still
# in bringup. Use a pinned revision to make it slightly more stable.
-if (sys.platform in ['win32', 'cygwin'] and
- re.search(r'\b(asan)=1', os.environ.get('GYP_DEFINES', ''))):
+if (re.search(r'\b(asan)=1', os.environ.get('GYP_DEFINES', '')) and
+ not 'LLVM_FORCE_HEAD_REVISION' in os.environ):
LLVM_WIN_REVISION = '210586'
# Path constants. (All of these should be absolute paths.)
« 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