Commit d4f84447 authored by hans's avatar hans Committed by Commit bot

Clang update script: disable --with-android with LLVM_FORCE_HEAD_REVISION

Unless we're targeting Android, Linux builders don't have the NDK checked
out.

BUG=452726
NOTRY=true

Review URL: https://codereview.chromium.org/927703002

Cr-Commit-Position: refs/heads/master@{#316316}
parent 76b7ef99
......@@ -156,6 +156,11 @@ if [[ -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then
# Skip local patches when using HEAD: they probably don't apply anymore.
with_patches=
if ! [[ "$GYP_DEFINES" =~ .*OS=android.* ]]; then
# Only build the Android ASan rt when targetting Android.
with_android=
fi
echo "LLVM_FORCE_HEAD_REVISION was set; using r${CLANG_REVISION}"
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment