Revision: 17193
Author:   [email protected]
Date:     Mon Oct 14 13:07:41 2013 UTC
Log:      Move v8_optimized_debug default value to standalone.gypi

This is so that Chromium can have its own overridable default value without colliding with ours.

[email protected]

Review URL: https://codereview.chromium.org/26317009
http://code.google.com/p/v8/source/detail?r=17193

Modified:
 /branches/bleeding_edge/build/standalone.gypi
 /branches/bleeding_edge/build/toolchain.gypi

=======================================
--- /branches/bleeding_edge/build/standalone.gypi Thu Sep 19 12:07:03 2013 UTC +++ /branches/bleeding_edge/build/standalone.gypi Mon Oct 14 13:07:41 2013 UTC
@@ -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',

=======================================
--- /branches/bleeding_edge/build/toolchain.gypi Tue Aug 20 08:12:19 2013 UTC +++ /branches/bleeding_edge/build/toolchain.gypi Mon Oct 14 13:07:41 2013 UTC
@@ -60,20 +60,6 @@

     'v8_enable_backtrace%': 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,
-
     # Enable profiling support. Only required on Windows.
     'v8_enable_prof%': 0,

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to