blob: 9dc991164dfb9cba101a4b7157f5dc8cad2f7b8f [file] [log] [blame]
* Copyright 2014 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
// Need to include SkTypes before checking SK_BUILD_FOR_ANDROID, so it will be
// set in the Android framework build.
#include "SkTypes.h"
extern bool gSkDebugToStdOut;
// Use a static initializer to set gSkDebugToStdOut to true, sending SkDebugf
// to stdout.
class SendToStdOut {
SendToStdOut() {
gSkDebugToStdOut = true;
static SendToStdOut gSendToStdOut;