summaryrefslogtreecommitdiffstats
path: root/xpcom/base/nsDebugImpl.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 19:03:00 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-22 19:03:00 -0500
commit69ed4e4b4ee94b69f55e2e0d405aff109e3d145c (patch)
tree47e775a19e4ac23d4e70970fc24dec619cbfd110 /xpcom/base/nsDebugImpl.cpp
parent7c8262e8c30018c1c522de5db1f22f815212a89f (diff)
downloadUXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar
UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.gz
UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.lz
UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.tar.xz
UXP-69ed4e4b4ee94b69f55e2e0d405aff109e3d145c.zip
Issue #1053 - Remove android support from XPCOM
Diffstat (limited to 'xpcom/base/nsDebugImpl.cpp')
-rw-r--r--xpcom/base/nsDebugImpl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/xpcom/base/nsDebugImpl.cpp b/xpcom/base/nsDebugImpl.cpp
index 84ba150db..313126e8a 100644
--- a/xpcom/base/nsDebugImpl.cpp
+++ b/xpcom/base/nsDebugImpl.cpp
@@ -19,10 +19,6 @@
#include "prerr.h"
#include "prenv.h"
-#ifdef ANDROID
-#include <android/log.h>
-#endif
-
#ifdef _WIN32
/* for getenv() */
#include <stdlib.h>
@@ -357,10 +353,6 @@ NS_DebugBreak(uint32_t aSeverity, const char* aStr, const char* aExpr,
}
#endif
-#ifdef ANDROID
- __android_log_print(ANDROID_LOG_INFO, "Gecko", "%s", buf.buffer);
-#endif
-
// Write the message to stderr unless it's a warning and MOZ_IGNORE_WARNINGS
// is set.
if (!(PR_GetEnv("MOZ_IGNORE_WARNINGS") && aSeverity == NS_DEBUG_WARNING)) {