| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 7b6cdab5df6478591d03f49e1f1e126ea93255e8..9125c037a938df0672c69e84e87f373f3248706e 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -21,6 +21,7 @@ import("//build/buildflag_header.gni")
|
| import("//build/config/allocator.gni")
|
| import("//build/config/chromecast_build.gni")
|
| import("//build/config/compiler/compiler.gni")
|
| +import("//build/config/dcheck_always_on.gni")
|
| import("//build/config/nacl/config.gni")
|
| import("//build/config/sysroot.gni")
|
| import("//build/config/ui.gni")
|
| @@ -2421,8 +2422,8 @@ if (is_android) {
|
| package_name = "org/chromium/base"
|
|
|
| defines = []
|
| - if (!is_java_debug) {
|
| - defines += [ "NDEBUG" ]
|
| + if (is_java_debug || dcheck_always_on) {
|
| + defines += [ "_DCHECK_IS_ON" ]
|
| }
|
| }
|
|
|
|
|