build/unix/run-gprof.sh
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 09 Jan 2015 13:23:12 +0900
changeset 248685 02de139764d987a467ed1fecd02f320091f31c02
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 1117681 - Fix 'AKEYCODE_CTRL_*' is ambiguous when using --android-version=13 or higher. r=snorp

#!/bin/sh
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

PROG=mozilla-bin
PLIBS=""

for l in *.so components/*.so; do
    PLIBS="$PLIBS -incobj $l"
done

$ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout