Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 3d4f8049ad2352f9dea42fa338f98254bd05716e..4cb5e00bcc760fa9330bbca7114703f0899bd3b1 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -77,6 +77,20 @@ |
# as errors. |
'v8_code%': 0, |
+ # Speeds up Debug builds: |
+ # 0 - Compiler optimizations off (debuggable) (default). This may |
+ # be 5x slower than Release (or worse). |
+ # 1 - Turn on compiler optimizations. This may be hard or impossible to |
+ # debug. This may still be 2x slower than Release (or worse). |
+ # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG |
+ # (but leave V8_ENABLE_CHECKS and most other assertions enabled. |
+ # This may cause some v8 tests to fail in the Debug configuration. |
+ # This roughly matches the performance of a Release build and can |
+ # be used by embedders that need to build their own code as debug |
+ # but don't want or need a debug version of V8. This should produce |
+ # near-release speeds. |
+ 'v8_optimized_debug%': 0, |
+ |
# Relative path to icu.gyp from this file. |
'icu_gyp_path': '../third_party/icu/icu.gyp', |