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); |
} |