summaryrefslogtreecommitdiffstats
path: root/dex2oat/dex2oat.cc
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2013-11-28 14:06:24 +0000
committerNarayan Kamath <narayan@google.com>2013-12-09 10:19:24 +0000
commit92572be7f754c213e615a62955cc5f65ca8c0c0e (patch)
tree5d9266c16a5b110bacf1ec6062a46a3e33e16bcb /dex2oat/dex2oat.cc
parent1a7e7d6a885bded1ffcdc8ff2490632698dc5139 (diff)
downloadart-92572be7f754c213e615a62955cc5f65ca8c0c0e.zip
art-92572be7f754c213e615a62955cc5f65ca8c0c0e.tar.gz
art-92572be7f754c213e615a62955cc5f65ca8c0c0e.tar.bz2
Use libziparchive for art zip processing.
This is part of the effort to move all VM & framework zip parsing to a common implementation. This also has the side effect of fixing various TODOs related to crc32 checking. bug: 10193060 Change-Id: I407f9ad5a94fc91d96ff43556adde00a00df1f14
Diffstat (limited to 'dex2oat/dex2oat.cc')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 8b23270..28d6649 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -213,7 +213,7 @@ class Dex2Oat {
if (zip_archive.get() == NULL) {
return NULL;
}
- UniquePtr<ZipEntry> zip_entry(zip_archive->Find(image_classes_filename));
+ UniquePtr<ZipEntry> zip_entry(zip_archive->Find(image_classes_filename, error_msg));
if (zip_entry.get() == NULL) {
*error_msg = StringPrintf("Failed to find '%s' within '%s': %s", image_classes_filename,
zip_filename, error_msg->c_str());