Index: base/logging.h |
diff --git a/base/logging.h b/base/logging.h |
index bc97ae156a6dc9d8f294a3b420c8e0f0bea782f8..1a110a565e9f89e77278eee31fdfcf42d0f3a223 100644 |
--- a/base/logging.h |
+++ b/base/logging.h |
@@ -433,7 +433,7 @@ const LogSeverity LOG_0 = LOG_ERROR; |
// We make sure CHECK et al. always evaluates their arguments, as |
// doing CHECK(FunctionWithSideEffect()) is a common idiom. |
-#if defined(OFFICIAL_BUILD) && defined(NDEBUG) |
+#if defined(OFFICIAL_BUILD) && defined(NDEBUG) && !defined(OS_ANDROID) |
// Make all CHECK functions discard their log strings to reduce code |
// bloat for official release builds. |