Index: build/standalone.gypi |
diff --git a/build/common.gypi b/build/standalone.gypi |
similarity index 94% |
copy from build/common.gypi |
copy to build/standalone.gypi |
index c41b2b2b626e95ed6a606d19b589615fae0957a0..56b487bd00289bab4cdc8b67e798a69826b342e8 100644 |
--- a/build/common.gypi |
+++ b/build/standalone.gypi |
@@ -25,6 +25,8 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+# Definitions to be used when building stand-alone V8 binaries. |
+ |
{ |
'variables': { |
'library%': 'static_library', |
@@ -52,7 +54,6 @@ |
'host_arch%': '<(host_arch)', |
'target_arch%': '<(target_arch)', |
'v8_target_arch%': '<(v8_target_arch)', |
- 'v8_enable_debugger_support%': 1, |
'conditions': [ |
['(v8_target_arch=="arm" and host_arch!="arm") or \ |
(v8_target_arch=="x64" and host_arch!="x64")', { |
@@ -64,21 +65,9 @@ |
}, |
'target_defaults': { |
'default_configuration': 'Debug', |
- 'conditions': [ |
- ['v8_enable_debugger_support==1', { |
- 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
- }, |
- ], |
- ], |
'configurations': { |
'Debug': { |
'cflags': [ '-g', '-O0' ], |
- 'defines': [ 'ENABLE_DISASSEMBLER', 'DEBUG', 'V8_ENABLE_CHECKS', |
- 'OBJECT_PRINT' ], |
- }, |
- 'Release': { |
- 'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', |
- '-ffunction-sections' ], |
}, |
}, |
}, |
@@ -116,7 +105,7 @@ |
'_HAS_EXCEPTIONS=0', |
], |
}], |
- ], |
+ ], |
'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
'msvs_disabled_warnings': [4355, 4800], |
'msvs_settings': { |