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

Unified Diff: platform_tools/android/launcher/skia_launcher.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/apptype_console.gypi ('k') | src/ports/SkDebug_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/launcher/skia_launcher.cpp
diff --git a/platform_tools/android/launcher/skia_launcher.cpp b/platform_tools/android/launcher/skia_launcher.cpp
index 746d470a3c2dcaad8d38bc0b1671d75daddc0e62..6cd900cbe04e8693d65ebc2cb1fcbd5394bf8b07 100644
--- a/platform_tools/android/launcher/skia_launcher.cpp
+++ b/platform_tools/android/launcher/skia_launcher.cpp
@@ -98,17 +98,6 @@ int main(int argc, const char** argv) {
return -1;
}
- // find the address of the SkPrintToConsole function
- void (*app_SkDebugToStdOut)(bool);
- *(void **) (&app_SkDebugToStdOut) = dlsym(skiaLibrary, "AndroidSkDebugToStdOut");
-
- if (app_SkDebugToStdOut) {
- (*app_SkDebugToStdOut)(true);
- } else {
- printf("WARNING: Unable to redirect output to the console.\n");
- printf("WARNING: %s\n", dlerror());
- }
-
// pass all additional arguments to the main function
return launch_app(app_main, argc - 1, ++argv);
}
« no previous file with comments | « gyp/apptype_console.gypi ('k') | src/ports/SkDebug_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698