From c0077e3870596eaac6502fa2a6ad6951b5dcf63c Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 28 Jul 2015 13:20:39 -0700 Subject: 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: If67d7fa0bacd6daf0bc9fb038e363bf683aa5634 --- update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update.sh b/update.sh index e888314..0c090f1 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++.so cp -a ${ANDROID_HOST_OUT}/lib/libc++.so lib/ -- cgit v1.2.3