将以下内容添加到 common.gypi 中的“变量”中:
'arm_version%' : '1',
所以它看起来像这样:
{
'variables': {
'werror': '', # Turn off -Werror in V8 build.
'visibility%': 'hidden', # V8's visibility setting
'target_arch%': 'ia32', # set v8's target architecture
'host_arch%': 'ia32', # set v8's host architecture
'want_separate_host_toolset': 0, # V8 should not build target and host
'library%': 'static_library', # allow override to 'shared_library' for D$
'component%': 'static_library', # NB. these names match with what V8 expec$
'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not$
'gcc_version%': 'unknown',
'clang%': 0,
'python%': 'python',
'arm_version%' : '1',
# Enable V8's post-mortem debugging only on unix flavors.