aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 6fc2ec28..212c4fc6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -10,6 +10,7 @@ common_SRC_FILES := \
files/source/convert_from.cc \
files/source/cpu_id.cc \
files/source/format_conversion.cc \
+ files/source/mjpeg_decoder.cc \
files/source/planar_functions.cc \
files/source/rotate.cc \
files/source/rotate_argb.cc \
@@ -19,7 +20,7 @@ common_SRC_FILES := \
files/source/scale_argb.cc \
files/source/video_common.cc
-common_CFLAGS := -Wall -fexceptions
+common_CFLAGS := -Wall -fexceptions -DHAVE_JPEG
common_C_INCLUDES = $(LOCAL_PATH)/files/include
@@ -37,6 +38,7 @@ LOCAL_NDK_STL_VARIANT := stlport_static
LOCAL_SRC_FILES := $(common_SRC_FILES)
LOCAL_CFLAGS += $(common_CFLAGS)
LOCAL_C_INCLUDES += $(common_C_INCLUDES)
+LOCAL_SHARED_LIBRARIES := libjpeg
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/files/include