OSDN Git Service

Build: Remove DCHECK_ALWAYS_ON flag
authorJack He <siyuanh@google.com>
Fri, 9 Feb 2018 11:02:46 +0000 (03:02 -0800)
committerJack He <siyuanh@google.com>
Fri, 9 Feb 2018 11:02:46 +0000 (03:02 -0800)
* According to libchrome documentation, DCHECK_ALWAYS_ON must be set or
  unset on both our library and libchrome. Flag mis-match may cause
  hard-to-debug segfaults which we experience when using base::Thread

Change-Id: If3740196340b02d2d0bb41e08f0b551d47f49864
Fixes: 73147157
Test: make

build/Android.bp

index cf57680..0402a6d 100644 (file)
@@ -35,7 +35,6 @@ fluoride_defaults {
         debuggable: {
             cflags: [
                 "-DBLUEDROID_DEBUG",
-                "-DDCHECK_ALWAYS_ON"
             ],
         },
     },