summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/jni/Android.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk
index fc2158d2..91dc7625 100644
--- a/main/jni/Android.mk
+++ b/main/jni/Android.mk
@@ -2,15 +2,20 @@
JNI_DIR := $(call my-dir)
#USE_POLAR=1
+USE_BREAKPAD=0
include lzo/Android.mk
include snappy/Android.mk
include openssl/Android.mk
-ifneq ($(TARGET_ARCH),mips)
-WITH_BREAKPAD=1
-include google-breakpad/android/google_breakpad/Android.mk
+ifeq ($(USE_BREAKPAD),1)
+ ifneq ($(TARGET_ARCH),mips)
+ WITH_BREAKPAD=1
+ include google-breakpad/android/google_breakpad/Android.mk
+ else
+ WITH_BREAKPAD=0
+ endif
else
WITH_BREAKPAD=0
endif