Index: gypfiles/toolchain.gypi |
diff --git a/gypfiles/toolchain.gypi b/gypfiles/toolchain.gypi |
index 98c8074fb1623933c0e7c45999df9a42c9f9026d..95eb1d99cbff3f1172153e8652c02e6e83f82d7e 100644 |
--- a/gypfiles/toolchain.gypi |
+++ b/gypfiles/toolchain.gypi |
@@ -57,6 +57,9 @@ |
# Similar to the ARM hard float ABI but on MIPS. |
'v8_use_mips_abi_hardfloat%': 'true', |
+ # Print to stdout on Android. |
+ 'v8_android_log_stdout%': 0, |
+ |
# Force disable libstdc++ debug mode. |
'disable_glibcxx_debug%': 0, |
@@ -1082,6 +1085,11 @@ |
}], |
], |
}], |
+ ['OS=="android" and v8_android_log_stdout==1', { |
+ 'defines': [ |
+ 'V8_ANDROID_LOG_STDOUT', |
+ ], |
+ }], |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
or OS=="netbsd" or OS=="qnx" or OS=="aix"', { |
'conditions': [ |