1 #!/bin/bash 2 # 3 # Handy script to delete all Valgrind related targets from the build output 4 # directory. Useful when working on the Android makefiles. 5 # 6 obj=$ANDROID_BUILD_TOP/out/target/product/stingray/obj 7 8 rm -r $obj/STATIC_LIBRARIES/libvex-arm-linux_intermediates \ 9 $obj/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates \ 10 $obj/STATIC_LIBRARIES/libreplacemalloc_toolpreload-arm-linux_intermediates \ 11 $obj/SHARED_LIBRARIES/vgpreload_core-arm-linux_intermediates \ 12 $obj/SHARED_LIBRARIES/memcheck-arm-linux_intermediates \ 13 $obj/SHARED_LIBRARIES/vgpreload_memcheck-arm-linux_intermediates \ 14 $obj/SHARED_LIBRARIES/cachegrind-arm-linux_intermediates \ 15 $obj/SHARED_LIBRARIES/callgrind-arm-linux_intermediates \ 16 $obj/SHARED_LIBRARIES/helgrind-arm-linux_intermediates \ 17 $obj/SHARED_LIBRARIES/vgpreload_helgrind-arm-linux_intermediates \ 18 $obj/SHARED_LIBRARIES/drd-arm-linux_intermediates \ 19 $obj/SHARED_LIBRARIES/vgpreload_drd-arm-linux_intermediates \ 20 $obj/SHARED_LIBRARIES/massif-arm-linux_intermediates \ 21 $obj/SHARED_LIBRARIES/vgpreload_massif-arm-linux_intermediates \ 22 $obj/SHARED_LIBRARIES/none-arm-linux_intermediates \ 23 $obj/EXECUTABLES/valgrind_intermediates 24