diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-18 10:54:06 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-18 10:54:06 +0000 |
commit | add082a353db21ffb451eec69bba3b250fe2630c (patch) | |
tree | 4cd3a0674ac70d8fcf39bac109f4673e79947599 /tools/clang | |
parent | 9ce9b0da913a6db0b5dc839f95136c90397eca58 (diff) | |
download | chromium_src-add082a353db21ffb451eec69bba3b250fe2630c.zip chromium_src-add082a353db21ffb451eec69bba3b250fe2630c.tar.gz chromium_src-add082a353db21ffb451eec69bba3b250fe2630c.tar.bz2 |
Also install clang if GYP_DEFINES includes clang=1
BUG=none
TEST=delete third_party/llvm-build and run gclient runhooks. should download clang
Review URL: https://codereview.chromium.org/10939014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/clang')
-rwxr-xr-x | tools/clang/scripts/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh index b1947f5c..e944823 100755 --- a/tools/clang/scripts/update.sh +++ b/tools/clang/scripts/update.sh @@ -62,7 +62,7 @@ done # --mac-only is passed in and the system isn't a mac. People who don't like this # can just delete their third_party/llvm-build directory. if [[ -n "$mac_only" ]] && [[ "${OS}" != "Darwin" ]] && - ! [[ -d "${LLVM_BUILD_DIR}" ]]; then + [[ "$GYP_DEFINES" != *clang=1* ]] && ! [[ -d "${LLVM_BUILD_DIR}" ]]; then exit 0 fi |