From 4c5d26bcfe9027a6e350af70a67cf2b584534509 Mon Sep 17 00:00:00 2001 From: Dan Bornstein Date: Wed, 15 Sep 2010 14:44:01 -0700 Subject: [PATCH] Make the app processing variant of dex-preopt more consistent. In particular, make it take paths relative to the product, just like how the bootclasspath is found and processed. Change-Id: I3f2a98a6bf6bbcf3145cf9be8edc1c3be4d763b9 --- tools/dex-preopt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/dex-preopt b/tools/dex-preopt index b2bc2c4d0..08c63705d 100755 --- a/tools/dex-preopt +++ b/tools/dex-preopt @@ -254,7 +254,8 @@ if [ "${bootstrap}" = "yes" ]; then done else echo "Processing ${inputFile}" 1>&2 - "${dexopt}" --preopt "${inputFile}" "${outputFile}" "${optimizeFlags}" + "${dexopt}" --preopt "${product}/${inputFile}" "${product}/${outputFile}" \ + "${optimizeFlags}" status="$?" if [ "${status}" != "0" ]; then -- 2.11.0