summaryrefslogtreecommitdiffstats
path: root/libs/utils/Android.mk
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-07-26 11:24:18 -0700
committerChristopher Tate <ctate@google.com>2010-07-28 15:33:28 -0700
commita45a8008c62ec8583709c87e30c84e09214f46cf (patch)
tree0f4b2affc99c9981f2e8303bfd8b12033a361e88 /libs/utils/Android.mk
parent9996342da502bff0d4ba83e55ddfffbb88aaf135 (diff)
downloadframeworks_native-a45a8008c62ec8583709c87e30c84e09214f46cf.zip
frameworks_native-a45a8008c62ec8583709c87e30c84e09214f46cf.tar.gz
frameworks_native-a45a8008c62ec8583709c87e30c84e09214f46cf.tar.bz2
Support streaming of compressed assets > 1 megabyte
Compressed assets larger than one megabyte are now decompressed on demand rather than being decompressed in their entirety and held in memory. Reading the data in order is relatively efficient, as is seeking forward in the stream. Seeking backwards is supported, but requires reprocessing the compressed data from the beginning, so is very inefficient. In addition, the size limit on compressed assets has been eliminated. Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
Diffstat (limited to 'libs/utils/Android.mk')
-rw-r--r--libs/utils/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk
index 8bd5823..2e20268 100644
--- a/libs/utils/Android.mk
+++ b/libs/utils/Android.mk
@@ -33,6 +33,7 @@ commonSources:= \
SharedBuffer.cpp \
Static.cpp \
StopWatch.cpp \
+ StreamingZipInflater.cpp \
String8.cpp \
String16.cpp \
StringArray.cpp \
@@ -131,4 +132,4 @@ endif
# team really wants is to build the stuff defined by this makefile.
ifeq (,$(ONE_SHOT_MAKEFILE))
include $(call first-makefiles-under,$(LOCAL_PATH))
-endif \ No newline at end of file
+endif