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 <wangxianzhu@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12387 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b588b0949f
commit
fcc1791a82
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user