summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-07-28 22:07:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-28 22:07:44 +0000
commita55920faf9469c3c8b23f8f7aded8a6681be6ef8 (patch)
tree06bd01a5b1bd1b9a26609ef55c14ad0d04335a32
parentc802ae5cf03a627d9bf9e97d0e5aa7e240c999af (diff)
parent5a851102cf57b12c192113b226e8fa0617464bb6 (diff)
download3.6-a55920faf9469c3c8b23f8f7aded8a6681be6ef8.tar.gz
am 5a851102: Add step to copy static analyzer tools.
* commit '5a851102cf57b12c192113b226e8fa0617464bb6': Add step to copy static analyzer tools.
-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/