[gn] Fix v8_code_comment assertion
Change-Id: Ia553e38ca65587c16c36c736c2b9ca9b686ed3e5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2839561 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Auto-Submit: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#74067}
This commit is contained in:
parent
1f187e1282
commit
d84fc42900
2
BUILD.gn
2
BUILD.gn
@ -334,7 +334,7 @@ if (v8_enable_v8_checks == "") {
|
||||
v8_enable_v8_checks = v8_enable_debugging_features
|
||||
}
|
||||
if (v8_enable_snapshot_code_comments) {
|
||||
assert(v8_code_comments || v8_code_comments == "",
|
||||
assert(v8_code_comments == true || v8_code_comments == "",
|
||||
"v8_enable_snapshot_code_comments conflicts with v8_code_comments.")
|
||||
v8_code_comments = true
|
||||
} else if (v8_code_comments == "") {
|
||||
|
Loading…
Reference in New Issue
Block a user