Chromium Code Reviews| Index: base/logging.h |
| diff --git a/base/logging.h b/base/logging.h |
| index b12defcfe6d941cd94a8c5a1df387e8eba3a67d5..849de0e33292ffdb1b217b94c5fece07bd38ab5f 100644 |
| --- a/base/logging.h |
| +++ b/base/logging.h |
| @@ -703,7 +703,12 @@ const LogSeverity LOG_DCHECK = LOG_INFO; |
| #define DCHECK_GE(val1, val2) DCHECK_OP(GE, >=, val1, val2) |
| #define DCHECK_GT(val1, val2) DCHECK_OP(GT, > , val1, val2) |
| +#if defined(OS_ANDROID) && !defined(OFFICIAL_BUILD) |
| +// TODO(port): fix once "enough" works |
|
brettw
2011/06/24 22:23:57
Do you think "enough" works now? I can imagine thi
michaelbai
2011/06/24 23:30:44
We haven't ready yet :(
|
| +#define NOTREACHED() LOG(ERROR) << "NOTREACHED()" |
| +#else |
| #define NOTREACHED() DCHECK(false) |
| +#endif |
| // Redefine the standard assert to use our nice log files |
| #undef assert |