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 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: 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..519c62c21ff4f604cd51b58e7a91e28d0a7bfdb4 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -24,6 +24,10 @@ if (sys.platform in ['win32', 'cygwin'] and
re.search(r'\b(asan)=1', os.environ.get('GYP_DEFINES', ''))):
Nico 2014/06/19 21:22:06 Can this say `and not os.environ.get('LLVM_WIN_REV
hans 2014/06/19 21:27:05 It seems confusing to a user if they see LLVM_WIN_
LLVM_WIN_REVISION = '210586'
+# It's possible to override LLVM_WIN_REVISION from the environment.
+if 'LLVM_WIN_REVISION' in os.environ:
+ LLVM_WIN_REVISION = os.environ['LLVM_WIN_REVISION']
+
# Path constants. (All of these should be absolute paths.)
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
CHROMIUM_DIR = os.path.abspath(os.path.join(THIS_DIR, '..', '..', '..'))
« 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