mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Issue #1053 - Remove android support from XPCOM
This commit is contained in:
parent
68d64c0c58
commit
26403f20ac
30 changed files with 27 additions and 476 deletions
|
|
@ -22,11 +22,6 @@
|
|||
#include "mozilla/UniquePtr.h"
|
||||
#endif
|
||||
|
||||
#ifdef ANDROID
|
||||
#include <android/log.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
const char*
|
||||
|
|
@ -365,20 +360,6 @@ vprintf_stderr(const char* aFmt, va_list aArgs)
|
|||
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
#elif defined(ANDROID)
|
||||
void
|
||||
vprintf_stderr(const char* aFmt, va_list aArgs)
|
||||
{
|
||||
if (sStderrCallback) {
|
||||
va_list argsCpy;
|
||||
VARARGS_ASSIGN(argsCpy, aArgs);
|
||||
sStderrCallback(aFmt, aArgs);
|
||||
va_end(argsCpy);
|
||||
}
|
||||
|
||||
__android_log_vprint(ANDROID_LOG_INFO, "Gecko", aFmt, aArgs);
|
||||
}
|
||||
#else
|
||||
void
|
||||
vprintf_stderr(const char* aFmt, va_list aArgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue