summaryrefslogtreecommitdiffstats
path: root/core/clear_vars.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-05-01 14:02:26 -0700
committerYing Wang <wangying@google.com>2015-05-01 16:09:58 -0700
commit3797466fbd31cc3ca5a1eddea64e7fdf0921ea67 (patch)
tree887ad604498355e96f2287e5d5ab7c28be0ee2d5 /core/clear_vars.mk
parent069f1f8942bf89817b064506495f6ab181548b55 (diff)
downloadbuild-3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.zip
build-3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.tar.gz
build-3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.tar.bz2
Don't extract jni from prebuilt apks.
- We don't need LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES now, for we always page-align jni shared libraries and store them umcompressed. - For prebuilt apks, we don't extract jni any more; Instead we always run uncompress-shared-libs on them. - For apks built from source, we still install the jni separately, because that way multiple apks can share the same jni and it saves space. With this change, for most prebuilt apks, we don't need to specify LOCAL_PREBUILT_JNI_LIBS ("@lib/<abi>/foo.so") any more, for the build system automatically replaces the embedded jni with uncompressed files; But if a prebuilt is a fat apk (i.e. containing jni not needed by the current product architecture), you still need LOCAL_PREBUILT_JNI_LIBS to specify what jni to keep. Otherwise all embedded jni will be replaced with uncompressed files, that wastes space. Bug: 8076853 Change-Id: Icf07e0998ac3602e6e05e80fed836fbafca33e01
Diffstat (limited to 'core/clear_vars.mk')
-rw-r--r--core/clear_vars.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/clear_vars.mk b/core/clear_vars.mk
index eb133dc..7b3f1c5 100644
--- a/core/clear_vars.mk
+++ b/core/clear_vars.mk
@@ -20,7 +20,6 @@ LOCAL_UNSTRIPPED_PATH:=
LOCAL_MODULE_CLASS:=
LOCAL_MODULE_SUFFIX:=
LOCAL_PACKAGE_NAME:=
-LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES:=
LOCAL_OVERRIDES_PACKAGES:=
LOCAL_EXPORT_PACKAGE_RESOURCES:=
LOCAL_MANIFEST_PACKAGE_NAME:=