From da0a931ca1ff3ebc64138491a703e7df47650bb9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 23 Dec 2015 20:11:11 -0800 Subject: Set CR_CLANG_REVISION to force a rebuild when the Clang version changes. BUG=pdfium:335 R=thakis@chromium.org Review URL: https://codereview.chromium.org/1549863002 . --- build/standalone.gypi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/standalone.gypi b/build/standalone.gypi index cdf6598438..d8c1e47894 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -327,6 +327,14 @@ 'V8_USE_EXTERNAL_STARTUP_DATA', ], }], # v8_use_external_startup_data==1 + ['clang==1 or host_clang==1', { + # 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=