Do not compress resources.arsc in android.jar

In framework-res.apk and in applications, resources are always stored in
zip files instead of compressed so that they may be accessed via mmap()
instead of needing to decompress them first.

This change makes sure the SDK's android.jar has the same behavior.

Change-Id: Ied881c34dca86ff5b5bd2ccfa4e316ae590ca473
This commit is contained in:
Kenny Root
2010-06-23 13:38:45 -07:00
parent e660fef552
commit 9e1400cdae

View File

@@ -42,6 +42,7 @@ $(full_target): $(OUT_DOCS)/api-stubs-timestamp $(framework_res_package)
$(hide) (cd $(PRIVATE_CLASS_INTERMEDIATES_DIR) && rm -rf classes.dex META-INF)
$(hide) mkdir -p $(dir $@)
$(hide) jar -cf $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) .
$(hide) jar -u0f $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) resources.arsc
.PHONY: android_stubs
android_stubs: $(full_target)