| Index: src/platform-posix.cc
|
| ===================================================================
|
| --- src/platform-posix.cc (revision 7187)
|
| +++ src/platform-posix.cc (working copy)
|
| @@ -139,7 +139,7 @@
|
|
|
|
|
| void OS::VPrint(const char* format, va_list args) {
|
| -#if defined(ANDROID)
|
| +#if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| #else
|
| vprintf(format, args);
|
| @@ -156,7 +156,7 @@
|
|
|
|
|
| void OS::VFPrint(FILE* out, const char* format, va_list args) {
|
| -#if defined(ANDROID)
|
| +#if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| #else
|
| vfprintf(out, format, args);
|
| @@ -173,7 +173,7 @@
|
|
|
|
|
| void OS::VPrintError(const char* format, va_list args) {
|
| -#if defined(ANDROID)
|
| +#if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, format, args);
|
| #else
|
| vfprintf(stderr, format, args);
|
|
|