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

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

Issue 2733043002: Remove depenedency on GYP_DEFINES in clang gclient hook (Closed)
Patch Set: tweak comment 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 2dfef6f4efdcb9e77d2683934559bd7eaf964948..ecd9a42eb0cd4e0b3db686331ba5bf322294d402 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -397,9 +397,8 @@ def VeryifyVersionOfBuiltClangMatchesVERSION():
def UpdateClang(args):
print 'Updating Clang to %s...' % PACKAGE_VERSION
- need_gold_plugin = 'LLVM_DOWNLOAD_GOLD_PLUGIN' in os.environ or (
- sys.platform.startswith('linux') and
- 'buildtype=Official' in os.environ.get('GYP_DEFINES', ''))
+ # Required for LTO, which is used when is_official_build = true.
+ need_gold_plugin = sys.platform.startswith('linux')
if ReadStampFile() == PACKAGE_VERSION and not args.force_local_build:
print 'Clang is already up to date.'
« 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