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

Side by Side Diff: tools/AndroidSkDebugToStdOut.cpp

Issue 753543003: Change how SkDebugf is sent to stdout on Android. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move android_output to apptype_console. Created 6 years 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 unified diff | Download patch
« no previous file with comments | « src/ports/SkDebug_android.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifdef SK_BUILD_FOR_ANDROID
9 extern bool gSkDebugToStdOut;
10
11 // Use a static initializer to set gSkDebugToStdOut to true, sending SkDebugf
12 // to stdout.
13 class SendToStdOut {
14 public:
15 SendToStdOut() {
16 gSkDebugToStdOut = true;
17 }
18 };
19
20 static SendToStdOut gSendToStdOut;
djsollen 2014/12/09 18:55:41 try... bool sendToStdOut() { gSkDebugToStdOut =
21 #endif // SK_BUILD_FOR_ANDROID
OLDNEW
« no previous file with comments | « src/ports/SkDebug_android.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698