summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorBart Sears <bsears@google.com>2012-09-28 17:40:05 (GMT)
committerBart Sears <bsears@google.com>2012-09-28 17:40:05 (GMT)
commitcda5ae868e98e1aad5d2924b3524d7caae1834ba (patch)
tree51ca91ba37cad80955b4c66306f55f3f96324a7c /Android.mk
parent08388e68673628c801c742aef8f5bf6ec41fc61f (diff)
downloadandroid_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.zip
android_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.tar.gz
android_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.tar.bz2
Add FilterShow and clean up native lib handling
Bug: 7165910 Add libjni_filtershow_filters to Gallery2 so users can edit photos Bug: 7250099 Remove native libs from the apk in /system/apps Change-Id: I0a8adacdcb4c349861187e4303d08666e204a266
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 5029a90..1d35597 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,9 +26,14 @@ LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
LOCAL_SDK_VERSION := 16
-LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic libjni_eglfence
-
-LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_eglfence
+# 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_mosaic libjni_eglfence libjni_filtershow_filters
+else
+ LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_eglfence libjni_filtershow_filters
+endif
LOCAL_PROGUARD_FLAG_FILES := proguard.flags