OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def30fc
)
Make the app processing variant of dex-preopt more consistent.
author
Dan Bornstein
<danfuzz@android.com>
Wed, 15 Sep 2010 21:44:01 +0000
(14:44 -0700)
committer
Dan Bornstein
<danfuzz@android.com>
Wed, 15 Sep 2010 21:44:01 +0000
(14:44 -0700)
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
patch
|
blob
|
history
diff --git
a/tools/dex-preopt
b/tools/dex-preopt
index
b2bc2c4
..
08c6370
100755
(executable)
--- 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