Revision: 23952
Author:   [email protected]
Date:     Mon Sep 15 14:48:01 2014 UTC
Log:      Compile V8 with extra optimization in GN Release mode.

This matches the GYP build which does 'optimize': 'max' on the corresponding targets.

[email protected]

Review URL: https://codereview.chromium.org/567073003

Patch from Brett Wilson <[email protected]>.
https://code.google.com/p/v8/source/detail?r=23952

Modified:
 /branches/bleeding_edge/BUILD.gn

=======================================
--- /branches/bleeding_edge/BUILD.gn    Fri Sep 12 11:59:26 2014 UTC
+++ /branches/bleeding_edge/BUILD.gn    Mon Sep 15 14:48:01 2014 UTC
@@ -1129,6 +1129,11 @@
   configs += [ "//build/config/compiler:no_chromium_code" ]
   configs += [ ":internal_config", ":features", ":toolchain" ]

+  if (!is_debug) {
+    configs -= [ "//build/config/compiler:optimize" ]
+    configs += [ "//build/config/compiler:optimize_max" ]
+  }
+
   defines = []
   deps = [ ":v8_libbase" ]

@@ -1214,6 +1219,11 @@
   configs += [ "//build/config/compiler:no_chromium_code" ]
   configs += [ ":internal_config_base", ":features", ":toolchain" ]

+  if (!is_debug) {
+    configs -= [ "//build/config/compiler:optimize" ]
+    configs += [ "//build/config/compiler:optimize_max" ]
+  }
+
   defines = []

   if (is_posix) {
@@ -1277,6 +1287,11 @@
   configs += [ "//build/config/compiler:no_chromium_code" ]
   configs += [ ":internal_config_base", ":features", ":toolchain" ]

+  if (!is_debug) {
+    configs -= [ "//build/config/compiler:optimize" ]
+    configs += [ "//build/config/compiler:optimize_max" ]
+  }
+
   deps = [
     ":v8_libbase",
   ]

--
--
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/d/optout.

Reply via email to