Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 6c67d60f9b2ccf6d183e94fa13bbcca113bf65d4..22e1775cb2eaf5f46765d72fd962d23e0147b5b6 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -341,6 +341,20 @@ |
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
'-Wnon-virtual-dtor', '-Woverloaded-virtual' ], |
}], |
+ ['OS=="android"', { |
+ 'variables': { |
+ 'android_full_debug%': 1, |
+ }, |
+ 'conditions': [ |
+ ['android_full_debug=0', { |
+ # Disable full debug if we want a faster v8 in a debug build. |
+ # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. |
+ 'defines!': [ |
+ 'DEBUG', |
+ ], |
+ }], |
+ ], |
+ }], |
], |
}, # Debug |
'Release': { |