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

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

Issue 15738020: Roll Clang 179138:182481. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/update.sh
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index 7ff4833d236daefb87e6a60f0df674e51e4dc6a9..4c1b55153733b3abc1caeec27a42cc752c682bed 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -8,7 +8,7 @@
# Do NOT CHANGE this if you don't know what you're doing -- see
# https://code.google.com/p/chromium/wiki/UpdatingClang
# Reverting problematic clang rolls is safe, though.
-CLANG_REVISION=179138
+CLANG_REVISION=182481
THIS_DIR="$(dirname "${0}")"
LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
@@ -329,9 +329,11 @@ if [[ -n "${with_android}" ]]; then
--stl=stlport
# Build ASan runtime for Android.
+ # Note: LLVM_ANDROID_TOOLCHAIN_DIR is not relative to PWD, but to where we
+ # build the runtime, i.e. third_party/llvm/projects/compiler-rt.
cd "${LLVM_BUILD_DIR}"
- TC="${PWD}/android-toolchain"
- make -C tools/clang/runtime/ LLVM_ANDROID_TOOLCHAIN_DIR="${TC}"
+ make -C tools/clang/runtime/ \
+ LLVM_ANDROID_TOOLCHAIN_DIR="../../../llvm-build/android-toolchain"
cd -
fi
« 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