Re-land: Enable external startup by default on Linux.
authorvogelheim <vogelheim@chromium.org>
Tue, 9 Jun 2015 09:59:22 +0000 (02:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Jun 2015 09:59:28 +0000 (09:59 +0000)
crrev.com/1016603004 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/1041683002

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

build/standalone.gypi

index 6d3d55d4c4cc89457c00f494ba8c93e339df3177..b73381254f822abfe75269110d6cc859a975bf10 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',