Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: scripts/build-memcheck-for-chromium.sh

Issue 4345005: Make build-memcheck-for-chromium.sh build the binaries from valgrind-variant... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 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 source common.sh 8 source common.sh
9 9
10 # SVN isn't smart enough to figure out what rev of VEX to get, 10 # SVN isn't smart enough to figure out what rev of VEX to get,
11 # so you have to check that out by revision. 11 # so you have to check that out by revision.
12 if system_is_snow_leopard 12 MEMCHECK_VV_REV=76
13 then
14 MEMCHECK_SVN_REV=11243
15 MEMCHECK_VEX_SVN_REV=1997
16 else
17 MEMCHECK_SVN_REV=11055
18 MEMCHECK_VEX_SVN_REV=1961
19 fi
20 13
21 VG_MEMCHECK_DIR="$VG_SRC_DIR/valgrind-memcheck" 14 VG_MEMCHECK_DIR="$VG_SRC_DIR/valgrind-memcheck"
22 checkout_and_patch_valgrind "$MEMCHECK_SVN_REV" "$MEMCHECK_VEX_SVN_REV" \ 15 checkout_and_patch_valgrind_variant "$MEMCHECK_VV_REV" "$VG_MEMCHECK_DIR"
23 "$VG_MEMCHECK_DIR"
24 16
25 cd "$VG_MEMCHECK_DIR" 17 cd "$VG_MEMCHECK_DIR/valgrind"
26
27 # Apply some Memcheck-specific pathes
28
29 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=201170
30 # "Want --show-possible option so I can ignore the bazillion possible leaks..."
31 patch -p0 -i "${THISDIR}/possible.patch"
32
33 # Make red zone 64 bytes bigger to catch more buffer overruns
34 patch -p0 -i "${THISDIR}/redzone.patch"
35 18
36 build_valgrind_for_available_platforms 19 build_valgrind_for_available_platforms
OLDNEW
« no previous file with comments | « binaries/mac_10.6/lib/valgrind/vgpreload_memcheck-x86-darwin.so.dSYM/Contents/Resources/DWARF/vgpreload_memcheck-x86-darwin.so ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698