summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-07-28 13:30:32 -0700
committerDan Albert <danalbert@google.com>2015-07-28 13:30:32 -0700
commit5a851102cf57b12c192113b226e8fa0617464bb6 (patch)
tree06bd01a5b1bd1b9a26609ef55c14ad0d04335a32
parentae5f6fa130a5f844d192a57e549fd85273777b56 (diff)
download3.6-5a851102cf57b12c192113b226e8fa0617464bb6.tar.gz
Add step to copy static analyzer tools.
These are shipped in the NDK, and the NDK clang is copied directly from here. Bug: http://b/22183733 Change-Id: I6fe17398cff7dc30ddb94535d9c1d7c51de273e6
-rwxr-xr-xupdate.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 50d097f..c7a0b03 100755
--- a/update.sh
+++ b/update.sh
@@ -13,6 +13,13 @@ for b in bin/*; do
fi
done
+# Copy static analyzer scripts.
+echo Copying static analyzer tools
+rm -rf tools/*
+mkdir -p tools
+cp -ar ${ANDROID_BUILD_TOP}/external/clang/tools/scan-build tools
+cp -ar ${ANDROID_BUILD_TOP}/external/clang/tools/scan-view tools
+
# Copy libraries
echo Copying libc++.dylib
cp -a ${ANDROID_HOST_OUT}/lib/libc++.dylib lib/