blob: 8fd3b0e838a2d32f698f93c80b6245b68574a768 [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2009-2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script to build Memcheck for use with chromium
export THISDIR=`dirname $0`
source $THISDIR/common.sh
# SVN isn't smart enough to figure out what rev of VEX to get,
# so you have to check that out by revision.
MEMCHECK_VV_REV=106
VG_MEMCHECK_DIR="$VG_SRC_DIR/valgrind-memcheck"
checkout_and_patch_valgrind_variant "$MEMCHECK_VV_REV" "$VG_MEMCHECK_DIR"
cd "$VG_MEMCHECK_DIR/valgrind"
build_valgrind_for_available_platforms