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

Unified Diff: scripts/common.sh

Issue 11299158: Roll new valgrind-variant (r138, which is Valgrind r13132, VEX r2564) binaries for Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/build-memcheck-for-chromium.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/common.sh
===================================================================
--- scripts/common.sh (revision 169322)
+++ scripts/common.sh (working copy)
@@ -19,6 +19,10 @@
uname -r | grep 11\.[0-9]\.[0-9] >/dev/null
}
+system_is_mountain_lion() {
+ uname -r | grep 12\.[0-9]\.[0-9] >/dev/null
+}
+
checkout_and_patch_valgrind_variant() {
# $1 = Valgrind-variant revision
# $2 = source dir
@@ -165,6 +169,9 @@
elif system_is_lion
then
build_valgrind "mac_10.7"
+ elif system_is_mountain_lion
+ then
+ build_valgrind "mac_10.7"
else
echo "You have Darwin kernel different from 9.X.X--11.X.X" >&2
echo "Please, don't put the resulting binaries into Chromium SVN" >&2
« no previous file with comments | « scripts/build-memcheck-for-chromium.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698