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

Side by Side Diff: jni/debug.h

Issue 5137878350823424: Unified filenames, removed unused files. (Closed)
Patch Set: Created March 5, 2014, 1:24 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « jni/abpEngine.cpp ('k') | jni/fileOps.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef DEBUG
2 #define DEBUG 0
3 #endif
4
5 #ifdef DEBUG
6
7 #include <android/log.h>
8
9 #define D_INFO ANDROID_LOG_INFO
10 #define D_WARN ANDROID_LOG_WARN
11 #define D_ERROR ANDROID_LOG_ERROR
12 #define D(lvl, msg, args...) if(lvl) { __android_log_print(lvl, "JS", msg, ## ar gs ); __android_log_print(lvl, "JS", "\n"); }
13
14 #else
15
16 #define D(lvl, msg, args...)
17
18 #endif
OLDNEW
« no previous file with comments | « jni/abpEngine.cpp ('k') | jni/fileOps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld