From 5bce3b4d7728c7b7b03d6407575051e069355a8f Mon Sep 17 00:00:00 2001 From: "digit@chromium.org" Date: Wed, 25 Sep 2013 13:47:44 +0000 Subject: Fix the Android/MIPS build. This patch fixes the build for Android on MIPS when using the latest official Android NDK (r9): - Update src/common/android/include/elf.h to add a missing definition for SHT_MIPS_DWARF. - Add src/common/android/include/sgidefs.h required by LSS when compiling for MIPS. - Update android/run-checks.sh to work properly with the --abi=mips option. All tests were passed succesfully with an emulator system image running Android 4.2. - Update other Android-specific files. R=Petar.Jovanovic@imgtec.com, mark@chromium.org Review URL: https://breakpad.appspot.com/633002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1216 4c0a9323-5329-0410-9bdc-e9ce6186880e --- android/google_breakpad/Android.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'android/google_breakpad') diff --git a/android/google_breakpad/Android.mk b/android/google_breakpad/Android.mk index 7bd44003..52fa5e4b 100644 --- a/android/google_breakpad/Android.mk +++ b/android/google_breakpad/Android.mk @@ -45,11 +45,6 @@ # to select one in your Application.mk # -# Sanity check. We can only build for ARM for now. -ifneq (,$(filter-out armeabi armeabi-v7a x86,$(TARGET_ARCH_ABI))) -$(error Sorry, Google Breakpad only works on Android ARM and x86 for now!) -endif - # The top Google Breakpad directory. # We assume this Android.mk to be under 'android/google_breakpad' @@ -85,7 +80,8 @@ LOCAL_SRC_FILES := \ src/client/minidump_file_writer.cc \ src/common/android/breakpad_getcontext.S \ src/common/convert_UTF.c \ - src/common/md5.cc src/common/string_conversion.cc \ + src/common/md5.cc \ + src/common/string_conversion.cc \ src/common/linux/elfutils.cc \ src/common/linux/file_id.cc \ src/common/linux/guid_creator.cc \ -- cgit v1.2.1