Revision: 12387
Author: [email protected]
Date: Mon Aug 27 08:25:15 2012
Log: Provide option to disable full DEBUG build on Android.
V8 full DEBUG is too slow on Android. Disable it when android_full_debug==0.
R=ulan
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10874062
Patch from Xianzhu Wang <[email protected]>.
http://code.google.com/p/v8/source/detail?r=12387
Modified:
/branches/bleeding_edge/build/common.gypi
=======================================
--- /branches/bleeding_edge/build/common.gypi Wed Jul 25 08:26:16 2012
+++ /branches/bleeding_edge/build/common.gypi Mon Aug 27 08:25:15 2012
@@ -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': {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev