diff --git a/chromiumcontent/args/native_mksnapshot.gn b/chromiumcontent/args/native_mksnapshot.gn index 552cd20d..c73d7b7f 100644 --- a/chromiumcontent/args/native_mksnapshot.gn +++ b/chromiumcontent/args/native_mksnapshot.gn @@ -3,6 +3,7 @@ is_component_build = false is_debug = false enable_linux_installer = false v8_use_snapshot = true +v8_untrusted_code_mitigations = false enable_nacl = false if (target_cpu == "arm") { v8_snapshot_toolchain="//build/toolchain/linux:clang_arm" diff --git a/chromiumcontent/args/shared_library.gn b/chromiumcontent/args/shared_library.gn index 3dc92c5c..e46c9044 100644 --- a/chromiumcontent/args/shared_library.gn +++ b/chromiumcontent/args/shared_library.gn @@ -36,6 +36,8 @@ v8_promise_internal_field_count = 1 # Buffer::Data() v8_typed_array_max_size_in_heap = 0 +v8_untrusted_code_mitigations = false + # Suppress the linking warning for arm64: # warning: libfreetype.so.6, needed by ../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu/libfontconfig.so, may conflict with libfreetype.so.6 if (target_cpu == "arm64") { diff --git a/chromiumcontent/args/static_library.gn b/chromiumcontent/args/static_library.gn index fb9f37ce..3857555b 100644 --- a/chromiumcontent/args/static_library.gn +++ b/chromiumcontent/args/static_library.gn @@ -40,6 +40,8 @@ v8_promise_internal_field_count = 1 # Buffer::Data() v8_typed_array_max_size_in_heap = 0 +v8_untrusted_code_mitigations = false + # Suppress the linking warning for arm64: # warning: libfreetype.so.6, needed by ../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu/libfontconfig.so, may conflict with libfreetype.so.6 if (target_cpu == "arm64") {