diff options
author | Bart Sears <bsears@google.com> | 2012-09-28 10:40:05 -0700 |
---|---|---|
committer | Bart Sears <bsears@google.com> | 2012-09-28 10:40:05 -0700 |
commit | cda5ae868e98e1aad5d2924b3524d7caae1834ba (patch) | |
tree | 51ca91ba37cad80955b4c66306f55f3f96324a7c | |
parent | 08388e68673628c801c742aef8f5bf6ec41fc61f (diff) | |
download | android_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.tar.gz android_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.tar.bz2 android_packages_apps_Snap-cda5ae868e98e1aad5d2924b3524d7caae1834ba.zip |
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
-rw-r--r-- | Android.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk index 5029a9065..1d3559737 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 |