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

Side by Side Diff: build/linux/dump_app_syms

Issue 14188058: Linux: Change dump_app_syms script to pass -r to dump_syms. This option was added in Breakpad r1163. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 3 # Copyright (c) 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 # Helper script to run dump_syms on Chrome Linux executables and strip 7 # Helper script to run dump_syms on Chrome Linux executables and strip
8 # them if needed. 8 # them if needed.
9 9
10 set -e 10 set -e
(...skipping 10 matching lines...) Expand all
21 fi 21 fi
22 22
23 SCRIPTDIR="$(readlink -f "$(dirname "$0")")" 23 SCRIPTDIR="$(readlink -f "$(dirname "$0")")"
24 DUMPSYMS="$1" 24 DUMPSYMS="$1"
25 STRIP_BINARY="$2" 25 STRIP_BINARY="$2"
26 INFILE="$3" 26 INFILE="$3"
27 OUTFILE="$4" 27 OUTFILE="$4"
28 28
29 # Dump the symbols from the given binary. 29 # Dump the symbols from the given binary.
30 if [ ! -e "$OUTFILE" -o "$INFILE" -nt "$OUTFILE" ]; then 30 if [ ! -e "$OUTFILE" -o "$INFILE" -nt "$OUTFILE" ]; then
31 "$DUMPSYMS" "$INFILE" > "$OUTFILE" 31 "$DUMPSYMS" -r "$INFILE" > "$OUTFILE"
32 fi 32 fi
33 33
34 if [ "$STRIP_BINARY" != "0" ]; then 34 if [ "$STRIP_BINARY" != "0" ]; then
35 strip "$INFILE" 35 strip "$INFILE"
36 fi 36 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698