Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: platform_tools/android/apps/canvasproof/src/main/jni/Debugf.h

Issue 1258123004: android/apps: Add CanvasProof App; (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: swipe down to switch views Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: platform_tools/android/apps/canvasproof/src/main/jni/Debugf.h
diff --git a/platform_tools/android/apps/canvasproof/src/main/jni/Debugf.h b/platform_tools/android/apps/canvasproof/src/main/jni/Debugf.h
new file mode 100644
index 0000000000000000000000000000000000000000..7e1ef3ac40fa0c44760301fdde7c2c6b07c01301
--- /dev/null
+++ b/platform_tools/android/apps/canvasproof/src/main/jni/Debugf.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef Debugf_DEFINED
+#define Debugf_DEFINED
+
+#include <android/log.h>
+#define Debugf(DTAG, ...) \
+ __android_log_print(ANDROID_LOG_VERBOSE, DTAG, __VA_ARGS__)
+
+#endif // Debugf_DEFINED

Powered by Google App Engine
This is Rietveld 408576698