summaryrefslogtreecommitdiffstats
path: root/widget/android/AndroidBridgeUtilities.h
blob: ca8326281bae0f8f9b1308b5c949cd1229b929d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef ALOG
#if defined(DEBUG) || defined(FORCE_ALOG)
#define ALOG(args...)  __android_log_print(ANDROID_LOG_INFO, "Gecko" , ## args)
#else
#define ALOG(args...) ((void)0)
#endif
#endif

#ifdef DEBUG
#define ALOG_BRIDGE(args...) ALOG(args)
#else
#define ALOG_BRIDGE(args...) ((void)0)
#endif