summaryrefslogtreecommitdiff
path: root/platform/android/viewer
diff options
context:
space:
mode:
authorfredrossperry <fredrossperry@gmail.com>2016-06-23 13:31:40 -0700
committerfredrossperry <fredrossperry@gmail.com>2016-07-06 11:14:33 -0700
commit294178d792835a2777ad451628181f6d756c3e0d (patch)
tree4c0e3d9cf8493532744fe86368abcc8c01d1069b /platform/android/viewer
parente2a85460370a3110b89fb838bc924c73f87f5b3c (diff)
downloadmupdf-294178d792835a2777ad451628181f6d756c3e0d.tar.xz
Android viewer: add mupdf_native.c to build
This is because platform/android/example also uses the resulting shared library.
Diffstat (limited to 'platform/android/viewer')
-rw-r--r--platform/android/viewer/jni/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/viewer/jni/Android.mk b/platform/android/viewer/jni/Android.mk
index 1351680f..2f5adf48 100644
--- a/platform/android/viewer/jni/Android.mk
+++ b/platform/android/viewer/jni/Android.mk
@@ -20,7 +20,11 @@ LOCAL_C_INCLUDES := \
$(MUPDF_ROOT)/platform/java
LOCAL_CFLAGS := -DHAVE_ANDROID
LOCAL_MODULE := mupdf_java
-LOCAL_SRC_FILES := mupdf.c
+
+LOCAL_SRC_FILES := \
+ mupdf.c \
+ $(MUPDF_ROOT)/../platform/java/mupdf_native.c
+
LOCAL_STATIC_LIBRARIES := mupdfcore mupdfthirdparty
ifdef NDK_PROFILER
LOCAL_CFLAGS += -pg -DNDK_PROFILER