summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-04-17 18:33:18 -0700
committerYing Wang <wangying@google.com>2014-04-18 16:42:43 -0700
commitc5477e7ef15f1b59eccd881f60756fe9ba981f74 (patch)
treea96a49069403c48d9fedcf0cba5461b918179ffc /Android.mk
parent7a6bd46dc1a67e79afe1045877cf0115d43a6be8 (diff)
downloadandroid_packages_apps_Gallery2-c5477e7ef15f1b59eccd881f60756fe9ba981f74.tar.gz
android_packages_apps_Gallery2-c5477e7ef15f1b59eccd881f60756fe9ba981f74.tar.bz2
android_packages_apps_Gallery2-c5477e7ef15f1b59eccd881f60756fe9ba981f74.zip
Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.
Change-Id: Id0a381ce06370347670ab9b324039ccc2222f93c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index cf5b767bb..b814907b4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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