Re-Re-land: Enable external startup by default on Linux.
authorvogelheim <vogelheim@chromium.org>
Tue, 16 Jun 2015 11:26:54 +0000 (04:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Jun 2015 11:27:01 +0000 (11:27 +0000)
crrev.com/1177163002 should have fixed the issues that broke this last time.

Notes:
- The current functionality is meant to stay. If you prefer the old way,
  just set v8_use_external_startup_data=0.
- You might notice this if you call d8 via PATH. Either explicitly tell d8
  where your external snapshot/built-ins are, or change the build options
  as above.
- This follows Chromium practice, that mostly uses this feature these days.
- Other platforms to follow later.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#29050}

build/standalone.gypi

index 7562112443d2252fadf46c9fbdab85b6bdf5db2d..f8b5674c242fe5b83efa1bbb34cfb191b2e05e41 100644 (file)
         # the C++ standard library is used.
         'use_custom_libcxx%': 1,
       }],
+      ['OS=="linux" and v8_target_arch==host_arch', {
+        # Gradually roll out v8_use_external_startup_data.
+        # Should eventually be default enabled on all platforms.
+        'v8_use_external_startup_data%': 1,
+      }],
     ],
     # Default ARM variable settings.
     'arm_version%': 'default',