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

Unified Diff: build/common.gypi

Issue 268363020: clang: Instead of having update.sh clobber out/, add a define with the current revision. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: onemore Created 6 years, 7 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 | tools/clang/scripts/update.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 096f1a95a7fa287cf7ebc5642f6850b0edd59427..e5c984944c682157b6fca8ba4b60759c48aeb4f7 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2316,6 +2316,14 @@
],
},
}],
+ ['clang==1 and OS!="win"', {
+ # This is here so that all files get recompiled after a clang roll and
+ # when turning clang on or off.
+ # (defines are passed via the command line, and build systems rebuild
+ # things when their commandline changes). Nothing should ever read this
+ # define.
+ 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
+ }],
['enable_rlz==1', {
'defines': ['ENABLE_RLZ'],
}],
« no previous file with comments | « no previous file | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698