toolkit/crashreporter/google-breakpad/android/sample_app/README

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 This is a sample Android executable that can be used to test the
     2 Google Breakpad client library on Android.
     4 Its purpose is simply to crash and generate a minidump under /data/local/tmp.
     6 Build instructions:
     8    cd android/sample_app
     9    $NDK/ndk-build
    11   Where $NDK points to a valid Android NDK installation.
    13 Usage instructions:
    15    After buildind the test program, send it to a device, then run it as
    16    the shell UID:
    18      adb push libs/armeabi/test_google_breakpad /data/local/tmp
    19      adb shell /data/local/tmp/test_google_breakpad
    21    This will simply crash after dumping the name of the generated minidump
    22    file.
    24    See jni/test_breakpad.cpp for details.
    26    Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version
    27    of the binary.
    29 Note:
    30    If you plan to use the library in a regular Android application, store
    31    the minidump files either to your app-specific directory, or to the SDCard
    32    (the latter requiring a specific permission).

mercurial