Index: build/toolchain.gypi |
diff --git a/build/common.gypi b/build/toolchain.gypi |
similarity index 88% |
rename from build/common.gypi |
rename to build/toolchain.gypi |
index dbb33a867bfb9abd6aaeb88a542aa69b168c082d..034fbc37e095ddc063d3a1540e12a20a8c021d74 100644 |
--- a/build/common.gypi |
+++ b/build/toolchain.gypi |
@@ -1,4 +1,4 @@ |
-# Copyright 2012 the V8 project authors. All rights reserved. |
+# Copyright 2013 the V8 project authors. All rights reserved. |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
# met: |
@@ -32,7 +32,6 @@ |
'msvs_use_common_release': 0, |
'gcc_version%': 'unknown', |
'CXX%': '${CXX:-$(which g++)}', # Used to assemble a shell command. |
- 'v8_compress_startup_data%': 'off', |
'v8_target_arch%': '<(target_arch)', |
# Native Client builds currently use the V8 ARM JIT and |
# arm/simulator-arm.cc to defer the significant effort required |
@@ -42,14 +41,6 @@ |
# NaCl V8 builds stop using the ARM simulator |
'nacl_target_arch%': 'none', # must be set externally |
- # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code |
- # generated by V8 to do unaligned memory access, and setting it to 'false' |
- # will ensure that the generated code will always do aligned memory |
- # accesses. The default value of 'default' will try to determine the correct |
- # setting. Note that for Intel architectures (ia32 and x64) unaligned memory |
- # access is allowed for all CPUs. |
- 'v8_can_use_unaligned_accesses%': 'default', |
- |
# Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP |
# registers d16-d31 in the generated code, both in the snapshot and for the |
# ARM target. Leaving the default value of 'false' will avoid the use of |
@@ -67,21 +58,10 @@ |
# Default arch variant for MIPS. |
'mips_arch_variant%': 'mips32r2', |
- 'v8_enable_debugger_support%': 1, |
- |
'v8_enable_backtrace%': 0, |
- |
- 'v8_enable_disassembler%': 0, |
- |
- 'v8_enable_gdbjit%': 0, |
- |
- 'v8_object_print%': 0, |
- |
# Enable profiling support. Only required on Windows. |
'v8_enable_prof%': 0, |
- 'v8_enable_verify_heap%': 0, |
- |
# Some versions of GCC 4.5 seem to need -fno-strict-aliasing. |
'v8_no_strict_aliasing%': 0, |
@@ -89,49 +69,13 @@ |
# it's handled in build/standalone.gypi. |
'want_separate_host_toolset%': 1, |
- 'v8_use_snapshot%': 'true', |
'host_os%': '<(OS)', |
'werror%': '-Werror', |
- |
- # With post mortem support enabled, metadata is embedded into libv8 that |
- # describes various parameters of the VM for use by debuggers. See |
- # tools/gen-postmortem-metadata.py for details. |
- 'v8_postmortem_support%': 'false', |
- |
# For a shared library build, results in "libv8-<(soname_version).so". |
'soname_version%': '', |
- |
- # Interpreted regexp engine exists as platform-independent alternative |
- # based where the regular expression is compiled to a bytecode. |
- 'v8_interpreted_regexp%': 0, |
- |
- # Enable ECMAScript Internationalization API. Enabling this feature will |
- # add a dependency on the ICU library. |
- 'v8_enable_i18n_support%': 0, |
}, |
'target_defaults': { |
'conditions': [ |
- ['v8_enable_debugger_support==1', { |
- 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
- }], |
- ['v8_enable_disassembler==1', { |
- 'defines': ['ENABLE_DISASSEMBLER',], |
- }], |
- ['v8_enable_gdbjit==1', { |
- 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
- }], |
- ['v8_object_print==1', { |
- 'defines': ['OBJECT_PRINT',], |
- }], |
- ['v8_enable_verify_heap==1', { |
- 'defines': ['VERIFY_HEAP',], |
- }], |
- ['v8_interpreted_regexp==1', { |
- 'defines': ['V8_INTERPRETED_REGEXP',], |
- }], |
- ['v8_enable_i18n_support==1', { |
- 'defines': ['V8_I18N_SUPPORT',], |
- }], |
['v8_target_arch=="arm"', { |
'defines': [ |
'V8_TARGET_ARCH_ARM', |
@@ -391,11 +335,6 @@ |
}, |
'msvs_configuration_platform': 'x64', |
}], # v8_target_arch=="x64" |
- ['v8_compress_startup_data=="bz2"', { |
- 'defines': [ |
- 'COMPRESS_STARTUP_DATA_BZ2', |
- ], |
- }], |
['OS=="win"', { |
'defines': [ |
'WIN32', |
@@ -488,9 +427,6 @@ |
], # conditions |
'configurations': { |
'Debug': { |
- 'variables': { |
- 'v8_enable_extra_checks%': 1, |
- }, |
'defines': [ |
'DEBUG', |
'ENABLE_DISASSEMBLER', |
@@ -515,9 +451,6 @@ |
}, |
}, |
'conditions': [ |
- ['v8_enable_extra_checks==1', { |
- 'defines': ['ENABLE_EXTRA_CHECKS',], |
- }], |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
'-Wnon-virtual-dtor', '-Woverloaded-virtual' ], |
@@ -548,13 +481,7 @@ |
], |
}, # Debug |
'Release': { |
- 'variables': { |
- 'v8_enable_extra_checks%': 0, |
- }, |
'conditions': [ |
- ['v8_enable_extra_checks==1', { |
- 'defines': ['ENABLE_EXTRA_CHECKS',], |
- }], |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
'cflags!': [ |
'-O2', |