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

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: Update comment. 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 // Need to include SkTypes before checking SK_BUILD_FOR_ANDROID, so it will be
9 // set in the Android framework build.
10 #include "SkTypes.h"
11 #ifdef SK_BUILD_FOR_ANDROID
12 extern bool gSkDebugToStdOut;
13
14 // Use a static initializer to set gSkDebugToStdOut to true, sending SkDebugf
15 // to stdout.
16 class SendToStdOut {
17 public:
18 SendToStdOut() {
19 gSkDebugToStdOut = true;
20 }
21 };
22
23 static SendToStdOut gSendToStdOut;
24 #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