diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-11-19 18:00:07 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-11-20 14:20:36 +0000 |
commit | 3cdf0ec05fc14514ba6d3d9dc0b4fa71a855e87b (patch) | |
tree | 84df7fd63862a30cf99f6d9550776b3f19395e31 /android | |
parent | 3e54230aa7e37b7cab11a775eef51e06fe94c42e (diff) | |
download | mupdf-3cdf0ec05fc14514ba6d3d9dc0b4fa71a855e87b.tar.xz |
Missed Core2.mk in the profiler commit.
Forgot to add a new file to git.
Diffstat (limited to 'android')
-rw-r--r-- | android/jni/Core2.mk | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/android/jni/Core2.mk b/android/jni/Core2.mk new file mode 100644 index 00000000..96e01c29 --- /dev/null +++ b/android/jni/Core2.mk @@ -0,0 +1,43 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +MY_ROOT := ../.. + +OPENJPEG := openjpeg +JPEG := jpeg +ZLIB := zlib +FREETYPE := freetype +V8 := v8-3.9 + +LOCAL_CFLAGS += -DARCH_ARM -DARCH_THUMB -DARCH_ARM_CAN_LOAD_UNALIGNED +ifdef NDK_PROFILER +LOCAL_CFLAGS += -pg -DNDK_PROFILER -O0 +NDK_APP_CFLAGS := +endif + +LOCAL_C_INCLUDES := \ + ../thirdparty/jbig2dec \ + ../thirdparty/$(OPENJPEG)/libopenjpeg \ + ../thirdparty/$(JPEG) \ + ../thirdparty/$(ZLIB) \ + ../thirdparty/$(FREETYPE)/include \ + ../draw \ + ../fitz \ + ../pdf \ + ../xps \ + ../cbz \ + ../scripts \ + .. +ifdef V8_BUILD +LOCAL_C_INCLUDES += ../thirdparty/$(V8)/include +endif + +LOCAL_MODULE := mupdfcore2 +LOCAL_SRC_FILES := \ + $(MY_ROOT)/fitz/res_shade.c \ + $(MY_ROOT)/draw/draw_simple_scale.c + +LOCAL_LDLIBS := -lm -llog -ljnigraphics + +include $(BUILD_STATIC_LIBRARY) |