Reviewers: Ruðrugis,

Description:
Enable max optimization for v8 in chromium.

First attempt to do this failed, we need per target flags.

Please review this at http://codereview.chromium.org/9018013/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     build/common.gypi
  M     tools/gyp/v8.gyp


Index: build/common.gypi
===================================================================
--- build/common.gypi   (revision 10285)
+++ build/common.gypi   (working copy)
@@ -84,10 +84,6 @@

     # For a shared library build, results in "libv8-<(soname_version).so".
     'soname_version%': '',
-
-    # We want max optimization for the V8 build (if this is not set, chrome
-    # defaults to low optimization settings)
-    'optimize': 'max',
   },
   'target_defaults': {
     'conditions': [
Index: tools/gyp/v8.gyp
===================================================================
--- tools/gyp/v8.gyp    (revision 10284)
+++ tools/gyp/v8.gyp    (working copy)
@@ -221,6 +221,7 @@
         {
           'target_name': 'v8_base',
           'type': '<(library)',
+          'optimize': 'max',
           'include_dirs+': [
             '../../src',
           ],


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to