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:
parent
c16ca32e5f
commit
12d20bdd31
6
BUILD.gn
6
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" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user