summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-10-06 12:00:47 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2015-10-06 12:00:47 +0100
commit1e085f0a04d4173d4b546b830c99f4477363f495 (patch)
treece0a3dd700708eabcb21cbb1a0b6c0d4c8be9a2d
parent1aba494df441c31836e5b7d4d8e408420a93cb8d (diff)
Use optimizing's pic boot image in art script.
Optimizing is the default compiler. Change-Id: Ief961c2615f880425eeb348971e50583c3b6283d
-rw-r--r--tools/art3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/art b/tools/art
index 676d6aeaf2..304a9d03f6 100644
--- a/tools/art
+++ b/tools/art
@@ -89,6 +89,7 @@ if [ z"$PERF" != z ]; then
invoke_with="perf record -o $ANDROID_DATA/perf.data -e cycles:u $invoke_with"
fi
+# We use the PIC core image to work with perf.
ANDROID_DATA=$ANDROID_DATA \
ANDROID_ROOT=$ANDROID_ROOT \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH \
@@ -97,7 +98,7 @@ ANDROID_DATA=$ANDROID_DATA \
$invoke_with $ANDROID_ROOT/bin/$DALVIKVM $lib \
-XXlib:$LIBART \
-Xnorelocate \
- -Ximage:$ANDROID_ROOT/framework/core.art \
+ -Ximage:$ANDROID_ROOT/framework/core-optimizing-pic.art \
-Xcompiler-option --generate-debug-info \
"$@"