Add v8_enable_verify_predictable gn args (mirroring the gyp var)

R=machenbach@chromium.org
BUG=chromium:645890

Review-Url: https://codereview.chromium.org/2614983002
Cr-Commit-Position: refs/heads/master@{#42093}
This commit is contained in:
jochen 2017-01-05 07:01:30 -08:00 committed by Commit bot
parent c16ca32e5f
commit 12d20bdd31

View File

@ -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" ]
}