diff options
| author | Colin Cross <ccross@android.com> | 2017-05-09 20:30:40 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2017-05-09 20:30:40 -0700 |
| commit | 85c2d92b58c27b88542e0090eafa0557397d93f0 (patch) | |
| tree | c2cd1c228aed38592c33443156b1c7032842407d | |
| parent | f17ec1f7a05d6cf9f8b36a6294be01e11903a6a2 (diff) | |
Clear artifacts before asan builds
Asan builds were picking up old non-asan libraries. Clear the
soong host artifacts before rebuilding with asan enabled.
Test: verify asan/lib64/libprotobuf-cpp-full.so is not in zip
Change-Id: I0b688c806b74a535576130fc513da8fce81e6546
| -rwxr-xr-x | build-prebuilts.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh index 2b1325e..4648db0 100755 --- a/build-prebuilts.sh +++ b/build-prebuilts.sh @@ -58,6 +58,7 @@ EOF "SanitizeHost": ["address"] } EOF + rm -rf ${SOONG_HOST_OUT} ${SOONG_OUT}/soong ${SOONG_ASAN_BINARIES[@]/#/${SOONG_HOST_OUT}/bin/} ${SOONG_HOST_OUT}/nativetest64/ninja_test/ninja_test ${SOONG_HOST_OUT}/nativetest64/ninja_test/ninja_test mkdir -p ${SOONG_OUT}/dist/asan/bin |
