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: Even more review issues fixed. Created April 28, 2014, 10:18 a.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
« no previous file with comments | « jni/Application.mk ('k') | jni/JniCallbacks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « jni/Application.mk ('k') | jni/JniCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld