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

Unified Diff: BUILD.gn

Issue 2614983002: Add v8_enable_verify_predictable gn args (mirroring the gyp var) (Closed)
Patch Set: Created 3 years, 11 months 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 | no next file » | 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 ae493483582fd32d43d80d2666f70d1a92bf1860..111d8cfe094c84b5a2cda525d73c1f76255ad9d5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -23,6 +23,9 @@ declare_args() {
# Sets -DVERIFY_HEAP.
v8_enable_verify_heap = false
+ # Sets -DVERIFY_PREDICTABLE
+ v8_enable_verify_predictable = false
+
# Enable compiler warnings when using V8_DEPRECATED apis.
v8_deprecation_warnings = false
@@ -183,6 +186,9 @@ config("features") {
if (v8_enable_verify_heap) {
defines += [ "VERIFY_HEAP" ]
}
+ if (v8_enable_verify_predictable) {
+ defines += [ "VERIFY_PREDICTABLE" ]
+ }
if (v8_interpreted_regexp) {
defines += [ "V8_INTERPRETED_REGEXP" ]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698