summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-01-28 12:36:39 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-01-28 12:36:39 +0530
commitaac0c2a767d2085bd8d23a71f35ee03a61ea4c77 (patch)
treeb3b1b7362d5a465bf39c5414cae167e1cf982872
parent292d0f0c625ce5e2ba2766c31a825262818f0d8b (diff)
Disable multi-image option for bootimagemeasurement
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xboot-image-measurement.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot-image-measurement.sh b/boot-image-measurement.sh
index cfa9cb3..a17aabe 100755
--- a/boot-image-measurement.sh
+++ b/boot-image-measurement.sh
@@ -48,6 +48,7 @@ rm -rf out/target/product/$out_dir/system/framework/$libdir/boot.art rm -rf out/
make -j$jcpu_count $flags out/target/product/$out_dir/system/framework/$libdir/boot.art 2>&1 | tee logs.txt
avg_oatd_time=`grep -rni "dex2oat took" logs.txt | sed -e "s/.*took //g" | sed -e "s/s.*$//g"`
cat logs.txt | grep "dex2oatd --runtime-arg" > cmd.txt
+sed -i "s/--multi-image//g" cmd.txt
sed -i "s/.*out\/host\/linux-x86\/bin\/dex2oatd/out\/host\/linux-x86\/bin\/dex2oat -j1/g" cmd.txt
for i in 1 2 3 4 5 6 7 8 9 10
do