Enable max optimization for v8 in chromium.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 Dec 2011 06:33:32 +0000 (06:33 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 Dec 2011 06:33:32 +0000 (06:33 +0000)
First attempt to do this failed, we need per target flags.
Review URL: http://codereview.chromium.org/9018013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

build/common.gypi
tools/gyp/v8.gyp

index e191679..9129d01 100644 (file)
 
     # 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 8fe9910..66a26b5 100644 (file)
         {
           'target_name': 'v8_base',
           'type': '<(library)',
+          'variables': {
+            'optimize': 'max',
+          },
           'include_dirs+': [
             '../../src',
           ],