| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Script to build Memcheck for use with chromium | 7 # Script to build Memcheck for use with chromium |
| 8 export THISDIR=`dirname $0` | 8 export THISDIR=`dirname $0` |
| 9 source $THISDIR/common.sh | 9 source $THISDIR/common.sh |
| 10 | 10 |
| 11 # Use a fixed version of valgrind-variant. | 11 # Use a fixed version of valgrind-variant. |
| 12 MEMCHECK_VV_REV=126 | 12 MEMCHECK_VV_REV=130 |
| 13 | 13 |
| 14 VG_MEMCHECK_DIR="$VG_SRC_DIR/valgrind-memcheck" | 14 VG_MEMCHECK_DIR="$VG_SRC_DIR/valgrind-memcheck" |
| 15 checkout_and_patch_valgrind_variant "$MEMCHECK_VV_REV" "$VG_MEMCHECK_DIR" | 15 checkout_and_patch_valgrind_variant "$MEMCHECK_VV_REV" "$VG_MEMCHECK_DIR" |
| 16 | 16 |
| 17 cd "$VG_MEMCHECK_DIR/valgrind" | 17 cd "$VG_MEMCHECK_DIR/valgrind" |
| 18 | 18 |
| 19 build_valgrind_for_available_platforms | 19 build_valgrind_for_available_platforms |
| OLD | NEW |