summaryrefslogtreecommitdiff
path: root/android/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'android/jni/Android.mk')
-rw-r--r--android/jni/Android.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/android/jni/Android.mk b/android/jni/Android.mk
index af28d173..2391e161 100644
--- a/android/jni/Android.mk
+++ b/android/jni/Android.mk
@@ -7,13 +7,6 @@ ifdef NDK_PROFILER
include android-ndk-profiler.mk
endif
-V8_OK := 0
-ifdef V8_BUILD
-ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
-V8_OK := 1
-endif
-endif
-
include $(TOP_LOCAL_PATH)/Core2.mk
include $(TOP_LOCAL_PATH)/Core.mk
include $(TOP_LOCAL_PATH)/ThirdParty.mk
@@ -35,8 +28,8 @@ else
endif
LOCAL_LDLIBS := -lm -llog -ljnigraphics
-ifeq ($(V8_OK),1)
-LOCAL_LDLIBS += -L$(MUPDF_ROOT)/thirdparty/v8-3.9/android -lv8_base -lv8_snapshot
+ifdef V8_BUILD
+LOCAL_LDLIBS += -L$(MUPDF_ROOT)/thirdparty/v8-3.9/android -lv8_$(TARGET_ARCH_ABI)
endif
include $(BUILD_SHARED_LIBRARY)