1734c3f8f4
Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/adb Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/fastboot Reported by: portscout
11 lines
576 B
C
11 lines
576 B
C
--- base/include/android-base/logging.h.orig 2019-07-17 19:54:09 UTC
|
|
+++ base/include/android-base/logging.h
|
|
@@ -350,7 +350,7 @@ struct LogAbortAfterFullExpr {
|
|
// DCHECKs are debug variants of CHECKs only enabled in debug builds. Generally
|
|
// CHECK should be used unless profiling identifies a CHECK as being in
|
|
// performance critical code.
|
|
-#if defined(NDEBUG) && !defined(__clang_analyzer__)
|
|
+#if defined(NDEBUG) && !defined(__clang_analyzer__) || !defined(__ANDROID__)
|
|
static constexpr bool kEnableDChecks = false;
|
|
#else
|
|
static constexpr bool kEnableDChecks = true;
|