mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-30 20:34:15 +01:00
5bce3b4d77
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 |
||
---|---|---|
.. | ||
jni | ||
README |
This is a sample Android executable that can be used to test the Google Breakpad client library on Android. Its purpose is simply to crash and generate a minidump under /data/local/tmp. Build instructions: cd android/sample_app $NDK/ndk-build Where $NDK points to a valid Android NDK installation. Usage instructions: After buildind the test program, send it to a device, then run it as the shell UID: adb push libs/armeabi/test_google_breakpad /data/local/tmp adb shell /data/local/tmp/test_google_breakpad This will simply crash after dumping the name of the generated minidump file. See jni/test_breakpad.cpp for details. Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version of the binary. Note: If you plan to use the library in a regular Android application, store the minidump files either to your app-specific directory, or to the SDCard (the latter requiring a specific permission).