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

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

Issue 2822040: Scripts for building Memcheck for OS X Snow Leopard after the merge of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: '' Created 10 years, 5 months 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
« no previous file with comments | « no previous file | scripts/common.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
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 if system_is_snow_leopard
13 then 13 then
14 MEMCHECK_SVN_REV=11175 14 MEMCHECK_SVN_REV=11195
15 MEMCHECK_VEX_SVN_REV=1982 15 MEMCHECK_VEX_SVN_REV=1987
16 else 16 else
17 MEMCHECK_SVN_REV=11055 17 MEMCHECK_SVN_REV=11055
18 MEMCHECK_VEX_SVN_REV=1961 18 MEMCHECK_VEX_SVN_REV=1961
19 fi 19 fi
20 20
21 VG_MEMCHECK_DIR="$THISDIR/valgrind-memcheck" 21 VG_MEMCHECK_DIR="$THISDIR/valgrind-memcheck"
22 checkout_and_patch_valgrind "$MEMCHECK_SVN_REV" "$MEMCHECK_VEX_SVN_REV" \ 22 checkout_and_patch_valgrind "$MEMCHECK_SVN_REV" "$MEMCHECK_VEX_SVN_REV" \
23 "$VG_MEMCHECK_DIR" 23 "$VG_MEMCHECK_DIR"
24 24
25 cd $VG_MEMCHECK_DIR 25 cd $VG_MEMCHECK_DIR
26 26
27 # Apply some Memcheck-specific pathes 27 # Apply some Memcheck-specific pathes
28 28
29 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=201170 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..." 30 # "Want --show-possible option so I can ignore the bazillion possible leaks..."
31 patch -p0 -i "${THISDIR}/possible.patch" 31 patch -p0 -i "${THISDIR}/possible.patch"
32 32
33 # Make red zone 64 bytes bigger to catch more buffer overruns 33 # Make red zone 64 bytes bigger to catch more buffer overruns
34 patch -p0 -i "${THISDIR}/redzone.patch" 34 patch -p0 -i "${THISDIR}/redzone.patch"
35 35
36 build_valgrind_for_available_platforms 36 build_valgrind_for_available_platforms
OLDNEW
« no previous file with comments | « no previous file | scripts/common.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698