OLD | NEW |
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 # This script contains some functions useful to build | 7 # This script contains some functions useful to build |
8 # Valgrind and ThreadSanitizer for use with chromium | 8 # Valgrind and ThreadSanitizer for use with chromium |
9 | 9 |
10 THISDIR=$(dirname "${0}") | 10 THISDIR=$(dirname "${0}") |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 *) | 211 *) |
212 build_valgrind "local" | 212 build_valgrind "local" |
213 ;; | 213 ;; |
214 esac | 214 esac |
215 } | 215 } |
216 | 216 |
217 # Check that the binaries directory exists. | 217 # Check that the binaries directory exists. |
218 BINARIES_DIR="$THISDIR/../binaries" | 218 BINARIES_DIR="$THISDIR/../binaries" |
219 if ! [ -a $BINARIES_DIR ] | 219 if ! [ -a $BINARIES_DIR ] |
220 then | 220 then |
221 echo "Error: $BINARIES_DIR doesn't exist!" >&2 | 221 echo "Error: $BINARIES_DIR doesn't exist!" |
222 exit 1 | 222 exit 1 |
223 fi | 223 fi |
224 | 224 |
225 set -e | 225 set -e |
226 set -x | 226 set -x |
OLD | NEW |