Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 64027fc1ee327927eb942df40353548cdfc3fba1..51f0df60db5b48ade6c698b936da4368b307688f 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -13,6 +13,12 @@ import("//build_overrides/v8.gni") |
import("snapshot_toolchain.gni") |
+declare_args() { |
+ # Enable the snapshot feature, for fast context creation. |
+ # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html |
+ v8_use_snapshot = true |
+} |
+ |
# TODO(jochen): These will need to be user-settable to support standalone V8 |
# builds. |
v8_deprecation_warnings = false |
@@ -24,7 +30,6 @@ v8_enable_verify_heap = false |
v8_interpreted_regexp = false |
v8_object_print = false |
v8_postmortem_support = false |
-v8_use_snapshot = true |
v8_random_seed = "314159265" |
v8_toolset_for_d8 = "host" |