[sandbox] Remove v8_enable_sandbox_future
As this is by now equivalent to v8_enable_sandbox. Bug: v8:10391 Change-Id: I1eef40a86b984a1867de3513a108ece0d43ec394 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4055273 Commit-Queue: Samuel Groß <saelo@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/main@{#84494}
This commit is contained in:
parent
9ec8dd6b8b
commit
eacdc876e9
8
BUILD.gn
8
BUILD.gn
@ -310,9 +310,6 @@ declare_args() {
|
||||
# Sets -DV8_ENABLE_SANDBOX.
|
||||
v8_enable_sandbox = ""
|
||||
|
||||
# Enable all available sandbox features. Implies v8_enable_sandbox.
|
||||
v8_enable_sandbox_future = false
|
||||
|
||||
# Expose the memory corruption API to JavaScript. Useful for testing the sandbox.
|
||||
# WARNING This will expose builtins that (by design) cause memory corruption.
|
||||
# Sets -DV8_EXPOSE_MEMORY_CORRUPTION_API
|
||||
@ -525,11 +522,6 @@ if (v8_enable_sandbox == "") {
|
||||
v8_enable_external_code_space && target_os != "fuchsia"
|
||||
}
|
||||
|
||||
# Enable all available sandbox features if sandbox future is enabled.
|
||||
if (v8_enable_sandbox_future) {
|
||||
v8_enable_sandbox = true
|
||||
}
|
||||
|
||||
assert(!v8_disable_write_barriers || v8_enable_single_generation,
|
||||
"Disabling write barriers works only with single generation")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user