Revision: 10297 Author: [email protected] Date: Wed Dec 21 22:33:32 2011 Log: Enable max optimization for v8 in chromium.
First attempt to do this failed, we need per target flags. Review URL: http://codereview.chromium.org/9018013 http://code.google.com/p/v8/source/detail?r=10297 Modified: /branches/bleeding_edge/build/common.gypi /branches/bleeding_edge/tools/gyp/v8.gyp ======================================= --- /branches/bleeding_edge/build/common.gypi Wed Dec 21 00:11:47 2011 +++ /branches/bleeding_edge/build/common.gypi Wed Dec 21 22:33:32 2011 @@ -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': [ ======================================= --- /branches/bleeding_edge/tools/gyp/v8.gyp Wed Nov 23 09:32:34 2011 +++ /branches/bleeding_edge/tools/gyp/v8.gyp Wed Dec 21 22:33:32 2011 @@ -221,6 +221,9 @@ { 'target_name': 'v8_base', 'type': '<(library)', + 'variables': { + 'optimize': 'max', + }, 'include_dirs+': [ '../../src', ], -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
