| Index: deps/third_party/valgrind/scripts/build-valgrind-for-chromium.sh
|
| ===================================================================
|
| --- deps/third_party/valgrind/scripts/build-valgrind-for-chromium.sh (revision 36404)
|
| +++ deps/third_party/valgrind/scripts/build-valgrind-for-chromium.sh (working copy)
|
| @@ -157,6 +157,26 @@
|
|
|
| maybe_build_gdb_for_mac "$OUTPUT_DIR"
|
|
|
| + # Delete un-needed stuff from the $OUTPUT_DIR
|
| + # TODO(timurrrr): probably, we should just don't build the unused tools
|
| + cd $OUTPUT_DIR
|
| + rm -rf include
|
| + rm -rf lib/pkgconfig lib/*.a
|
| + rm bin/*cg_* bin/callgrind*
|
| + cd lib/valgrind
|
| + rm -rf *.a \
|
| + *drd* \
|
| + *exp-* \
|
| + *none* \
|
| + *lackey* \
|
| + *massif* \
|
| + *helgrind* \
|
| + *callgrind* \
|
| + *cachegrind*
|
| +
|
| + # Strip all binaries except "vgpreload" (we do need their symbols).
|
| + strip `ls -1 | grep "tsan\|memcheck" | grep -v "dSYM" | grep -v "vgpreload"`
|
| +
|
| # We're done
|
| cd $THISDIR
|
| # }}}
|
|
|