Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: jni/Debug.h

Issue 5697499218051072: Usage of new API, cleanups (reduced) (Closed)
Patch Set: Created April 11, 2014, 1:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: jni/Debug.h
diff --git a/jni/Debug.h b/jni/Debug.h
deleted file mode 100644
index c6ca114e285e450c64bc85f7fcbe1ace68674bce..0000000000000000000000000000000000000000
--- a/jni/Debug.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef DEBUG
-#define DEBUG 0
-#endif
-
-#ifdef DEBUG
-
-#include <android/log.h>
-
-#define D_INFO ANDROID_LOG_INFO
-#define D_WARN ANDROID_LOG_WARN
-#define D_ERROR ANDROID_LOG_ERROR
-#define D(lvl, msg, args...) if(lvl) { __android_log_print(lvl, "JS", msg, ## args ); __android_log_print(lvl, "JS", "\n"); }
-
-#else
-
-#define D(lvl, msg, args...)
-
-#endif

Powered by Google App Engine
This is Rietveld