From ff572e939b1aaa5373bef8d2cd1ce31daaa13cf8 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 18 Feb 2014 16:15:01 +0100 Subject: make it easier to disable breakpad --HG-- extra : rebase_source : c6832fdaac3421708edd4140762d12836f5053a2 --- main/jni/Android.mk | 11 ++++++++--- 1 file 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 -- cgit v1.2.3