Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: BUILD.gn

Issue 1427343003: make v8_use_snapshot configurable in gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: document v8_use_snapshot Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/features.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « no previous file | build/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698