From e16bcd08aae85a7d9c2de5a4b1c733280cb81112 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 13 May 2018 00:08:52 +0200 Subject: Remove MOZ_WIDGET_GONK [2/2] Tag #288 --- ipc/hal/DaemonSocketPDUHelpers.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ipc/hal/DaemonSocketPDUHelpers.cpp') diff --git a/ipc/hal/DaemonSocketPDUHelpers.cpp b/ipc/hal/DaemonSocketPDUHelpers.cpp index 6aaf21c339..1e57ac2979 100644 --- a/ipc/hal/DaemonSocketPDUHelpers.cpp +++ b/ipc/hal/DaemonSocketPDUHelpers.cpp @@ -15,26 +15,12 @@ #undef CHROMIUM_LOG #endif -#if defined(MOZ_WIDGET_GONK) - -#include - -#define CHROMIUM_LOG(args...) \ - __android_log_print(ANDROID_LOG_INFO, "HAL-IPC", args); - -#define CHROMIUM_LOG_VA(fmt, ap) \ - __android_log_vprint(ANDROID_LOG_INFO, "HAL-IPC", fmt, ap); - -#else - #include #define IODEBUG true #define CHROMIUM_LOG(args...) if (IODEBUG) { printf(args); } #define CHROMIUM_LOG_VA(fmt, ap) if (IODEBUG) { vprintf(fmt, ap); } -#endif - namespace mozilla { namespace ipc { namespace DaemonSocketPDUHelpers { -- cgit v1.2.3