Change how SkDebugf is sent to stdout on Android.
authorscroggo <scroggo@google.com>
Wed, 10 Dec 2014 18:23:04 +0000 (10:23 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Dec 2014 18:23:06 +0000 (10:23 -0800)
commit6cfce1b7b4ad546b02823a1a0bbbda2c17b688f5
treec2c2f6bcc68e1f5c879089fa9f5f8a44a40437e8
parent96472deea70169396b8e1f576e470138f55fdb1f
Change how SkDebugf is sent to stdout on Android.

Previously, a function was called using dlsym in skia_launcher.

Add a static initializer that changes the setting, and include that for
the tools we automate for testing.

Also only do va_copy if we actually use it.

BUG=skia:2454

Review URL: https://codereview.chromium.org/753543003
gyp/android_output.gyp [new file with mode: 0644]
gyp/apptype_console.gypi
platform_tools/android/launcher/skia_launcher.cpp
src/ports/SkDebug_android.cpp
tools/AndroidSkDebugToStdOut.cpp [new file with mode: 0644]