OSDN Git Service

Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.
authorYing Wang <wangying@google.com>
Fri, 18 Apr 2014 01:33:18 +0000 (18:33 -0700)
committerYing Wang <wangying@google.com>
Fri, 18 Apr 2014 23:42:43 +0000 (16:42 -0700)
Change-Id: Id0a381ce06370347670ab9b324039ccc2222f93c

Android.mk

index cf5b767..b814907 100644 (file)
@@ -33,14 +33,7 @@ LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
 
 LOCAL_SDK_VERSION := current
 
-# If this is an unbundled build (to install seprately) then include
-# the libraries in the APK, otherwise just put them in /system/lib and
-# leave them out of the APK
-ifneq (,$(TARGET_BUILD_APPS))
-  LOCAL_JNI_SHARED_LIBRARIES := libjni_eglfence libjni_filtershow_filters librsjni libjni_jpegstream
-else
-  LOCAL_REQUIRED_MODULES := libjni_eglfence libjni_filtershow_filters libjni_jpegstream
-endif
+LOCAL_JNI_SHARED_LIBRARIES := libjni_eglfence libjni_filtershow_filters librsjni libjni_jpegstream
 
 LOCAL_PROGUARD_FLAG_FILES := proguard.flags