OLD | NEW |
---|---|
(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 | |
OLD | NEW |