diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-12-24 14:25:11 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-12-24 14:25:11 +0100 |
commit | e713296d10e2f3feb059c3d267c96404bc477d04 (patch) | |
tree | 0dc7d0a653a2071b66533d3daa58a771470c77f4 | |
parent | 809e278681e3a1f526db94bf09ecf364bb4bfb82 (diff) |
delte old files
-rw-r--r-- | jni/icsandroid.cpp | 30 | ||||
-rw-r--r-- | jni/icsandroid.h | 9 |
2 files changed, 0 insertions, 39 deletions
diff --git a/jni/icsandroid.cpp b/jni/icsandroid.cpp deleted file mode 100644 index cd63c6fd..00000000 --- a/jni/icsandroid.cpp +++ /dev/null @@ -1,30 +0,0 @@ - -#include "icsandroid.h" -#include "client/linux/handler/exception_handler.h" - -namespace { - -bool DumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, - void* context, - bool succeeded) { - printf("Dump path: %s\n", descriptor.path()); -fflush(stdout); - return succeeded; -} - -void Crash() { - volatile int* a = reinterpret_cast<volatile int*>(NULL); - *a = 1; -} - -} // namespace - -static google_breakpad::MinidumpDescriptor* desc; -static google_breakpad::ExceptionHandler* eh; -void setup_breakpad(void) -{ -printf("Initializing Google Breakpad!\n"); -desc = new google_breakpad::MinidumpDescriptor("/data/data/de.blinkt.openvpn/cache"); -eh = new google_breakpad::ExceptionHandler(*desc, NULL, DumpCallback, NULL, true,-1); -} - diff --git a/jni/icsandroid.h b/jni/icsandroid.h deleted file mode 100644 index cd11da40..00000000 --- a/jni/icsandroid.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif - - void setup_breakpad(void); - -#ifdef __cplusplus -} -#endif |