summaryrefslogtreecommitdiffstats
path: root/jni_jpegstream
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-07-22 12:27:43 -0700
committerYing Wang <wangying@google.com>2014-07-22 12:27:43 -0700
commit745eb589234bac233ce62a612771b77eddbb3b89 (patch)
treeef43b3b6de36acd9d8e57996a323fcd047e17d9d /jni_jpegstream
parentc0a5cca72283cafa469befcb45101f25a9eb69a2 (diff)
downloadandroid_packages_apps_Gallery2-745eb589234bac233ce62a612771b77eddbb3b89.tar.gz
android_packages_apps_Gallery2-745eb589234bac233ce62a612771b77eddbb3b89.tar.bz2
android_packages_apps_Gallery2-745eb589234bac233ce62a612771b77eddbb3b89.zip
Build against the NDK libraries.
That way you don't have dependency on the platform libraries, which in turn depends on things like libcompiler_rt-extras, which isn't exposed to apps_only build. Bug: 16398512 Change-Id: Ie7cf54c97c57b13e82c1891970eb3731a68ae075
Diffstat (limited to 'jni_jpegstream')
-rw-r--r--jni_jpegstream/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/jni_jpegstream/Android.mk b/jni_jpegstream/Android.mk
index 96cc7ec65..97d57eeba 100644
--- a/jni_jpegstream/Android.mk
+++ b/jni_jpegstream/Android.mk
@@ -12,14 +12,14 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/src \
external/jpeg
-LOCAL_SHARED_LIBRARIES := libjpeg liblog
+LOCAL_SHARED_LIBRARIES := libjpeg
LOCAL_SDK_VERSION := 9
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
LOCAL_CPPFLAGS += $(JNI_CFLAGS)
-
+LOCAL_LDLIBS := -llog
LOCAL_CPP_EXTENSION := .cpp
LOCAL_SRC_FILES := \