Reland "[sandbox] Enable sandboxed pointers on Android"

This is a reland of commit ae55e4d26e

crrev.com/c/3706618 should fix the Android failures.

Original change's description:
> [sandbox] Enable sandboxed pointers on Android
>
> Bug: chromium:1218005
> Change-Id: Ie7c100193848544e661ee62f88be4601426a4e18
> Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3702251
> Reviewed-by: Igor Sheludko <ishell@chromium.org>
> Commit-Queue: Samuel Groß <saelo@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#81117}

Bug: chromium:1218005
Change-Id: Ia6dbbd2c7629614391ea49f898b0784f39cf27f1
Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3702445
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Samuel Groß <saelo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81190}
This commit is contained in:
Samuel Groß 2022-06-13 10:20:10 +02:00 committed by V8 LUCI CQ
parent cc709727e7
commit afb77d757e

View File

@ -506,9 +506,9 @@ if (v8_enable_sandbox == "") {
v8_enable_external_code_space && target_os != "fuchsia"
}
# Enable sandboxed pointers on desktop when the sandbox is enabled.
# Enable sandboxed pointers when the sandbox is enabled.
if (v8_enable_sandbox) {
v8_enable_sandboxed_pointers = target_os != "android"
v8_enable_sandboxed_pointers = true
}
# Enable all available sandbox features if sandbox future is enabled.